3 ms·
You can use the touchmove event to do things while mobile safari scrolls.
by Encosia 13y ago
You can use the touchmove event to do things while mobile safari scrolls.
- EGreg 13y agoReally? http://stackoverflow.com/questions/10482227/javascript-dom-changes-in-touchmove-delayed-until-scroll-ends-on-mobile-safari/10856671#10856671 http://stackoverflow.com/questions/10482227/javascript-dom-c...
- Encosia 13y agoLooking back at the code that I was thinking of, it looks like I was using requestAnimationFrame to do the actual DOM manipulation (based on a variable that was updated in touchmove). Maybe Mobile Safari still allows DOM manipulation during those animation frame callbacks, even if touchmove is happening?