网站在移动设备上无法滚动? [英] Site not scrolling on mobile devices?
本文介绍了网站在移动设备上无法滚动?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
网站建立在引导程序上,我使用 skrollr.js
为标题图像添加视差效果.我认为这是不允许网站滚动的原因.我已经在多台设备上进行了测试,甚至在 Chrome 的模拟中进行了更多测试.
Site's built on bootstrap, I'm using skrollr.js
to add a parallax effect to the header images. I think it's this that's not allowing the site to scroll. I've tested on multiple devices and on even more in Chrome's emulation.
我已经阅读了 overflow: hidden
可能会导致问题,而且看起来 skrollr
正在将这些样式添加到 html
标签.
I've read around that overflow: hidden
can cause problems, and it appears that skrollr
is adding those styles to the html
tag.
链接 - http://goo.gl/YofGx7
推荐答案
尝试
body {
overflow: scroll !important;
}
这篇关于网站在移动设备上无法滚动?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文