Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1141] Text Field focus kills gesture listener

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:55:19.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.4.0
ComponentsiOS
Labelsdefect, gesture, ios, iphone, listener
Reporterctredway
AssigneeBlain Hamon
Created2011-04-15T02:45:03.000+0000
Updated2011-04-17T01:55:19.000+0000

Description

this heldesk ticket brought this bug to light:
http://helpdesk.appcelerator.net/tickets/3143">http://helpdesk.appcelerator.net/tickets/3143

The help desk ticket really explains it, but here is what I did to reproduce it.

Create a default project that creates 2 windows and 2 tabs. Add a text field to window 2 and add the gesture event listener in app.js. At this point the shake gesture works. Now, navigate to window 2 and click in the text field. Now, go back to window 1(or even stay on this window) and the shake gesture no longer works.

Comments

  1. Jeff Haynie 2011-04-15

    (from [77b880d117e1433b13f32668a9e5df0da462288b]) Closes #1141: Text fields and text areas need to set TiRootView as the first responder upon resigning their first responder status. http://github.com/appcelerator/titanium_mobile/commit/77b880d117e1433b13f32668a9e5df0da462288b"> http://github.com/appcelerator/titanium_mobile/commit/77b880d117e14...

JSON Source