Workaround/polyfill for Android 4.0.3 Stock browser z-index issues

白昼怎懂夜的黑 提交于 2019-12-06 20:18:57

问题


I'm looking for a workaround or polyfill for the z-index bug described in this report: http://code.google.com/p/android/issues/detail?id=31862

My markup and CSS looks basically the same as the one given in the bug report.

It'd be really great if somebody could give me a hint in the right direction on how to solve this.


回答1:


I had the same problem, and fixed it by adding the following css to my popups:

-webkit-transform:translateZ(0);



回答2:


Alternative solution (found here: https://coderwall.com/p/7gjkug):

-webkit-backface-visibility: hidden;



来源:https://stackoverflow.com/questions/12923305/workaround-polyfill-for-android-4-0-3-stock-browser-z-index-issues

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