Swipe gestures on a mobile scroller
J. Landman Gay
jacque at hyperactivesw.com
Sun Nov 20 14:34:12 EST 2016
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
More information about the use-livecode
mailing list