为什么固定的元素在Firefox中滚动速度变慢? [英] Why do fixed elements slow down scrolling in Firefox?
本文介绍了为什么固定的元素在Firefox中滚动速度变慢?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
位置:fixed
应用于它们会导致Firefox在滚动页面时吃掉100%的CPU?有什么解决方法?我已经注意到几个网站上的这种行为,例如在StackOverflow的页面顶部的通知栏。我使用的是Linux,以防万一。
解决方案
这是 bug#201307 。
Why do elements with the CSS position: fixed
applied to them cause Firefox to eat 100% CPU when scrolling the page they are in? And are there any workarounds?
I've noticed this behavior on a few sites, for example the notification bar at the top of the page on StackOverflow. I'm using Linux in case that matters.
解决方案
This is bug #201307.
这篇关于为什么固定的元素在Firefox中滚动速度变慢?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文