How to stop scrolling?
How to stop scrolling?
vfhobbes
Posts: 1Questions: 1Answers: 0
I have a rather wide table with a one fixed column and horizontal scrolling. On mobile, this is working well in that users can swipe left and right to scroll horizontally.
However, I need to be able to programmatically stop the horizontal scroll in the middle of a scroll. I've tried stopPropagation, preventDefault, various jQuery calls such as stop() and finish(), but I haven't found the magic words. Any hints?
This discussion has been closed.
Answers
I don't think it is reliably possible to do. As far as I am aware mobile Safari will not fire the
scroll
event while scrolling - instead waiting until the end. So there is no way to know that it is actually scrolling.It might be possible in Chrome Android - that's not something I've tried.
Allan