Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Terry Judd via use-livecode
So, it seems like this approach works ok. Turned out there was an addition complication in that the items in my scrolling list are also selectable and I needed to prevent them being toggled on or off during a left/right swipe action. Anyway, this is what I ended up doing... In the card

Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Terry Judd via use-livecode
Thanks Brahmanathaswami - was thinking about this again last night and in my case I think I might be able to get it to work for me if I just use touchmove (and only track the y delta) for the vertical scrolling and touchend for the swiping, which is for card to card navigation rather than

Re: How to give swiping precedence over scrolling on mobile?

2018-12-20 Thread Sannyasin Brahmanathaswami via use-livecode
Terry, I'm interested in this also. Get the SivaSiva app ( no space... from iOS and Google Play) In the Listen Module, with Elanor's help, I tried to set up a "Spotify" UX with categories of audio scroll and up and down, and within on categories, left to right. I also get, what is a probably

How to give swiping precedence over scrolling on mobile?

2018-12-19 Thread Terry Judd via use-livecode
This is a problem that I have run into before and have never been able to solve satisfactorily. I’m using touchStart and touchEnd handlers to detect the direction and speed of a finger movement and if it is within certain bounds (large enough x, small enough y, and fast enough) then the user