网站不会在移动设备上滚动 [英] Website will not scroll on mobile devices
本文介绍了网站不会在移动设备上滚动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
此网站不会在移动设备上滚动。我之前见过这个问题,但这似乎不是通常的嫌疑人。
This site will not scroll on mobile. I've seen this issue before but this doesn't appear to be the usual suspect(s). I'm out of ideas.
推荐答案
overflow:scroll
从 html,body
CSS规则中删除。如果内容太长,那么内容会自行滚动,不需要特定的规则 - 它只会导致奇怪的行为(例如在Firefox中显示两个滚动条)
The overflow:scroll
should be removed from the html, body
CSS rule. The body scrolls itself if the content is too long, no need for that particular rule - it will only leads to strange behavior (e.g. in Firefox two scrollbars are displayed to me)
这篇关于网站不会在移动设备上滚动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文