Swipe gestures on a mobile scroller

Scott Morrow scott at elementarysoftware.com
Sun Nov 20 16:53:11 EST 2016


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  :- )

—
Scott
> On Nov 20, 2016, at 11:34 AM, J. Landman Gay <jacque at hyperactivesw.com> wrote:
> 
> 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 scrollerDidScroll message, because the field width fits the scroller contentRect, so there is nothing to scroll. It may be working on iOS because there you have a "bounce" option which allows overscrolling. Android doesn't have that.
> 
> I had hopes for the touchMove solution because that message does fire sporadically but it failed also. In my tests yesterday I saw that the message fired fitfully, but even when it did the mouse position was wrong. I attributed that to the fact that I was logging the coords to a field, but maybe there's more to it because after a few responses the logging stopped completely.
> 
> -- 
> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
> HyperActive Software           |     http://www.hyperactivesw.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the Use-livecode mailing list