IE7 loading cursor flickers and makes page slow to respond

做~自己de王妃 提交于 2019-12-06 13:47:47

Eventually I narrowed down the issue. After eliminating code bit by bit I deduced the problem isn't caused by JavaScript at all, it's a css issue.

The exact line of css is

overflow-y: auto

I don't know exactly the circumstances to reproduce it. But for a bit of info that might help others... The container the css is applied to is positioned absolutely. It has a fixed size (which also seems to be changed in JavaScript) and width. It's parent container is a div with display:block;.

Curiously if you scroll to the bottom of the container and back up it seems to fix the flickering bug.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!