阅读背景:

在WebView完全膨胀之前发生媒体查询

来源:互联网 

When testing our media equerries in Chrome everything seems to work fine, but in my app's WebView (on Android, so it is Chrome based) it reports a height of 0px, and therefore landscape orientation no matter the actual device position. As I said, this isn't an issue with Chrome. How can I change my code in order to have a real height before the media query fires?When testing our media equerries in Chrome ever




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: