Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
I wish. :) I'm hoping the LC team will fix it. Apparently that would solve problems for a lot of us. On 11/20/16 3:53 PM, Scott Morrow wrote: Jacque, I had intermittent luck with touchMove as well. I was using it to swipe open a “delete” button. In the app that uses this feature there is

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Scott Morrow
Jacque, I had intermittent luck with touchMove as well. I was using it to swipe open a “delete” button. In the app that uses this feature there is another way to accomplish the same thing so I settled for intermittent. Selfishly, hoping it was something I did wrong and that you would solve it

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
On 11/20/16 12:36 PM, Paul Hibbert wrote: It is only a workaround implemented by intercepting the scrollerDidScroll message I just tried both Scott's touchMove solution and Paul's scrollerDidScroll suggestion but neither seem to work on Android. I'm not surprised there was no

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 20, 2016, at 11:03 AM, J. Landman Gay wrote: > > does that mean the hscroll property of the mobile scroller must be true? Just tried this simplified version and it works fine too: on scrollerDidScroll hOffset, vOffset // Scroll Detect // if hOffset <0

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 20, 2016, at 11:03 AM, J. Landman Gay > wrote: > > does that mean the hscroll property of the mobile scroller must be true? No, the hScroll prop is still false, you are just detecting and using (diverting) the information

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread J. Landman Gay
On 11/20/16 12:36 PM, Paul Hibbert wrote: On Nov 19, 2016, at 8:06 PM, J. Landman Gay wrote: I'm not sure how it could work, since the horizontal scroll of my field is always zero. It doesn't scroll horizontally at all. The actual hScroll of the field isn’t set,

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Paul Hibbert
> On Nov 19, 2016, at 8:06 PM, J. Landman Gay wrote: > > I'm not sure how it could work, since the horizontal scroll of my field is > always zero. It doesn't scroll horizontally at all. The actual hScroll of the field isn’t set, only the vScroll is set in this

Re: Swipe gestures on a mobile scroller

2016-11-20 Thread Scott Morrow
I used touchMove and found it at least partially reliable for horizontal swipes on iOS (not tried on Android) Something like: global gHorizontalSwipeDistance local lMouseStartH local lMouseStartV -- put 80 into gHorizontalSwipeDistance -- depending on the resolution during startup on

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
BTW, there appears to be a related bug that got fixed: MouseUp wasn't being sent when a native scroller was active. It looks like they fixed that one but forgot to check related swipe mouseUps. Hopefully the team can use the same fix again.

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
Well, it's good to know I'm not alone I guess. ;) I just wish I'd asked earlier, before I spent some hours tracking down the problem. I'd like to think the omission of mouseUp/touchEnd messages was an oversight, since we do get all the other mouse messages. I haven't tried Paul's workaround.

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread Terry Judd
Hi Jacque - I struggled with this for ages on an iOS and android app earlier in the year (vertical scrolling content with side-to-side swiping for navigation (a la iCal). After trying a truckload of different approaches (hacks) I mostly got it to work on iOS (I still got intermittent failures)

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread Paul Hibbert
> On Nov 19, 2016, at 11:38 AM, J. Landman Gay wrote: > > Anyone have a workaround? Kind of! I built an iOS app that needed to display some long fields of text, I built some pages based around this lesson:

Re: Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
On 11/19/16 2:18 AM, J. Landman Gay wrote: I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not sure, but after a couple they stop) and no

Swipe gestures on a mobile scroller

2016-11-19 Thread J. Landman Gay
I have a native mobile scroller handling the vertical scroll of a field. I want to add swipe gestures to change cards. When swiping, I get a mouseDown, sporadic mouseMoves (the logging might be interfering, not sure, but after a couple they stop) and no mouseUp at all. I tried using