iOS和部分安卓机 在使用了
dom.addEventListener('touchmove', function(e) { e.preventDefault(); }, false);
没有出现滚动穿透的问题
但是三星S6还是存在滚动穿透,请问有什么针对性的处理方法么?
试试touchmove时添加 document.documentElement.style.touchAction = 'none';touchend后 document.documentElement.style.touchAction = 'auto';
有人说加个 touch-action:none 有用,没试过 ,你可以试下