简体   繁体   English

我的网站无法在移动设备上滚动

[英]My website won't scroll on mobile devices

This has bothered me for a long time. 这困扰了我很长一段时间。 Since I updated my personal website, it didn't scroll on either Android nor iOS mobile devices. 自从我更新了我的个人网站以来,该网站在Android和iOS移动设备上都无法滚动。 I'm not sure what is causing the problem - css, Javascript or something else? 我不确定是什么引起了问题-CSS,Javascript或其他? Here is the my website: http://anniedream.com And here is a cleaner version of my website (I took out the parallel scrolling stuff..) http://anniedream.com/150703Preview01/ 这是我的网站: http : //anniedream.com这是我的网站的更干净的版本(我删除了平行滚动的内容。) http://anniedream.com/150703Preview01/

Hope someone can help me out. 希望有人可以帮助我。 Thank you very much! 非常感谢你!

It's a JavaScript problem, try removing 这是JavaScript问题,请尝试删除

    skrollr.init({
        forceHeight:false
    });

If this is not the culprit, try desactivating the overlay. 如果这不是罪魁祸首,请尝试停用覆盖。 Something "covers" your website with a fixed element or something detects the scrolling and can't deal with it. 某些内容用固定的元素“覆盖”您的网站,或者某些内容检测到滚动并且无法对其进行处理。

Maybe you added some pop-up or overlay effects that still get rendered on mobile. 也许您添加了一些仍会在移动设备上呈现的弹出或叠加效果。 Try removing it instead of using display:none or visibility:hidden . 尝试删除它,而不要使用display:nonevisibility:hidden

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM