I have a tall field inside a shorter group that uses a mobile scroller. A behavior assigned to the group handles the scrolling and checks for swipes by capturing mouseDown and mouseUp to determine touch locations so it can calculate the direction of the swipe. This works on Android.

On iOS I do not get mouseUp or mouseDown messages when swiping horizontally, though I do get scrolerDidScroll when swiping vertically. But since the group is exactly as wide as the field it encloses, it does not scroll horizontally and so no scrollerDidScroll message is sent. I also do not get scrollerBegin/EndDrag, touchStart or touchEnd, or any other message I can think of to track a horizontal swipe. I do get mouseUp/Down when tapping on the scroller but that doesn't help here.

How would I detect a horizontal swipe on a non-moving scroller? The user can't 
navigate without it.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to