How to release scrolling in Safari 11.1?

Asked

Viewed 17 times

1

I needed to do this so that the content is not being disturbed and doing Wipe with your finger, but now the scrolling of the page has stopped working, as I do to release the bearing?

document.addEventListener('touchmove', function(e) {
    e.preventDefault();
}, { passive: false });
  • Have you tried applying this event only to the specific div instead of the document whole, something like: document.querySelector("SELETOR").addEventListener('touchmove', function(e) {?

  • already, it didn’t work out so well.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.