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) {
?– Sam
already, it didn’t work out so well.
– Ivan Ferrer