I don't have an answer and hope someone else does. I hate my workaround.
My workaround is to leave a space on either side of the field (45 px or so.. 
haven't tried to minimize). 
After the user gets frustrated enough, they end to do a swipe near the edge of 
the screen (across the blank space and not starting in the field) and that I 
can trap for and make work.
Once they’ve done it once or twice, they routinely go to the edge of the screen 
to swipe and it becomes natural. 
Jim

> On May 19, 2020, at 2:21 PM, J. Landman Gay via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> 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


_______________________________________________
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