Chrome on ios sometimes gets a window.innerHeight that is not the height of the viewport.

< H2 > question < / H2 >

I want to set the minimum height of the page to the height of the viewport, but I made a mistake in getting the height of the viewport, and the fixed dock at the bottom of the fixed is also wrong. Try using 100vh, but on ios"s safari, 100vh seems to be larger than a viewport.

< H2 > device < / H2 >

iPhone 7
Chrome 67.0.3396.87
IOS 11.2.6 (15D100)

< H2 > other < / H2 >

obtained by using the method given by http://www.daqianduan.com/378. is still incorrect;

Mar.25,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e38392-44493.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e38392-44493.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?