Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: Javascript - 像 Google Plus 一样劫持页面滚动?
Google Plus 在您的主页上做了这件很酷的事情。当您将鼠标悬停在“添加到圈子”上时(并且弹出框垂直滚动,主体滚动被禁用。因此您可以在下拉圈子框中上下滚动,但页面不会移动。
怎么可能像这样禁用页面滚动?