Since sometimes we don't want to recalculate all on a long page. If we have several 100vh elements, it might push others up or down as they change, so set all to the min vh and live with a little extra space at the bottom :/. Calculate --vp-1vhmin from --vp-initial-inner-height / 100
Replace like in postcss-functions
Variable Viewport height for iOS
(updates on resize to account for bottom bar)
Minimal Viewport height
Since sometimes we don't want to recalculate all on a long page. If we have several 100vh elements, it might push others up or down as they change, so set all to the min vh and live with a little extra space at the bottom :/. Calculate --vp-1vhmin from --vp-initial-inner-height / 100
Maximum Viewport height
(the height of the viewport when bottom bar is hidden (getIOSInnerHeightMax)