Detect if element has stopped momentum scrolling?
Is it possibile to detect if an element has stopped scrolling in Mobile Safari via Javascript? I have an element that has momentum scrolling by using -webkit-overflow-scrolling:touch , and I need to detect if the element has stopped scrolling, including after the momentum affects the scroll. Is this possible? Using the onscroll event is not working as it should within my app. dagge You can calculate a swipe velocity and try to figure out if momentum scroll will occur based on some threshold value. I've done some testing and about 0.25 pixels/ms seems to be a good value. Note: Sometimes