css3 - How to ban the source of leaked files in WeChat drop-down? There are still places in the page that need to be scrolled
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-06-14 10:50:15
0
2
927

document.querySelector('body').addEventListener('touchmove', function(e) {
        if (!document.querySelector('.articleBox').contains(e.target)) {
            e.preventDefault();
        }
    })

Writing like this can still be displayed. How to deal with it? .articleBox is the part that needs to be scrolled

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(2)
大家讲道理

If in WeChat on iOS, you can position the block that does not require scrolling as fixed, the block will not drop down and leak out of the source page.
Reference link: http://www.cnblogs.com/cococe...

Ty80

Use iscroll

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!