iOS10/Safari10: touchmove.preventDefault() not preventing browser scroll
reppners opened this issue · 4 comments
reppners commented
http://www.openradar.me/28479522
https://bugs.webkit.org/show_bug.cgi?id=163207
Tripped over this regression while working on new demo pages for the rewrite.
reppners commented
Seems like somebody found a workaround!
window.addEventListener( 'touchmove', function() {})
Credits go to metafizzy/flickity#457 (comment)
dpogue commented
In the webkit bug, it sounds like a better fix is to call preventDefault()
in a touchforcechange
event listener on the element, rather than adding extraneous listeners on the window.
reppners commented
The reason I did not implement the touchforcechange
-fix was because the event never fired on my iPhone 6 which does not have 3D Touch support. The fix simply did not work.
reppners commented
closing as a workaround is available and there is nothing else the library can do to help the issue.