[TIMOB-1567] Swipe event only works in portrait mode on iPad
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2011-04-17T01:56:31.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 1.5.0 |
Components | iOS |
Labels | defect, ios, ipad |
Reporter | Kevin Whinnery |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:56:13.000+0000 |
Updated | 2011-04-17T01:56:31.000+0000 |
Description
Just discovered swipe event does not work on any orientations other than portrait/right side up on iPad. The event is not fired at all when in landscape mode, and incorrectly reports the direction when upside down. I pulled the events example from the Kitchen Sink out into an independent app.js to illustrate:
http://gist.github.com/527209">http://gist.github.com/527209
Valid, has testcase. When in landscape, swiping vertically will erroneously generate left or right, swiping left/right in landscape fails silently.
oops, set to open
(from [24dc5ff49fd3f2fd0fe05d294ddaf1f1990ebc73]) [#1567 state:fixed-in-qa]: Swipes are now calculated based on position in the root view. http://github.com/appcelerator/titanium_mobile/commit/24dc5ff49fd3f2fd0fe05d294ddaf1f1990ebc73"> http://github.com/appcelerator/titanium_mobile/commit/24dc5ff49fd3f...
confirmed against 1.4.1.82947a
rollback wrong update