fire scrollEnd when finger is released? or something that does the same?

You must Login before you can answer or comment on any questions.

Is there an event something similar to scrollEnd on a scrollView, which fires when the user releases their finger, instead of when the view stops scrolling whether the users finger is still there or not? I'm trying to create something similar to a pull-to-refresh, but I'm struggling to fire an event when the finger is released as when the finger is released, the view snaps back to 0 offset, then scrollEnd is fired with an offset value of 0, so I cant tell how far the view is offset.

I've also tried using touchend on the scrollView, but that doesn't seem to work when scrolling is in progress. touchstart and touchend are only ever fired if I 'tap' the scrollview and dont move my finger, as soon as the scrollview has 'scrolled' the touchend event doesn't fire.

— asked 10 months ago by Luke Peek
0 Comments

1 Answer

Accepted Answer

Have you tried using the dragEnd event?

Your Answer

Think you can help? Login to answer this question!