timruffles/mobile-drag-drop

iOS10/Safari10: touchmove.preventDefault() not preventing browser scroll

reppners opened this issue · 4 comments

Seems like somebody found a workaround!

window.addEventListener( 'touchmove', function() {})

Credits go to metafizzy/flickity#457 (comment)

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.

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.

closing as a workaround is available and there is nothing else the library can do to help the issue.