I'm working on an Android app where some activities and fragments display a Webview. I've noticed that when I run the app in an emulator using Jelly Bean (api 16 and 18), the css property min-height:100vh
seems to be ignored. This makes the webview look wonky. I've searched online and cannot find anything about why this is or how to fix it.
I think the Android browsers in Jelly Bean (Android 4.1 to 4.3) don't support the vh
unit.
You can check here: http://caniuse.com/#feat=viewport-units
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.