Strange safari rendering issues, and low performance on other browsers

爱⌒轻易说出口 提交于 2019-12-13 01:53:36

问题


I'm in the middle of development of a website, however I cannot work out what is causing this plethora of issues.

In Safari on OS X (7.0.6 on 10.9.4), random elements will disappear and reappear and hovering over the drop down menu, or a button, they suddenly re-appear. It is very strange and erratic.

In Chrome (v36.0.1985.143) and Firefox (v31.0) the scrolling performance is poor, but no rendering issue.

All onscroll events are clean. I've tried tweaking with just about everything and gotten nowhere.

If anybody can work this out, I'll be greatly appreciative. Thanks in advance.


回答1:


I don't see any scrolling performance issue on chrome or firefox, but I noticed Safari rendering glitches.

When you force reflow, all your sections are displaying again. Try to add a backface-visibility:hidden; on your .section class.

Edit:

Your #background-area is fixed and doesn't have any z-index. Put it to z-index: -1; to keep it in the back.



来源:https://stackoverflow.com/questions/25400909/strange-safari-rendering-issues-and-low-performance-on-other-browsers

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