ICB/LVP vs Virtual Keyboard, and the effect on Viewport Units #11
Labels
Discussed
ICB
Layout Viewport
Spec Issue
To be followed up at proper venue that specced this
Viewport Units
svh/dvh/lvh/vh
Virtual Keyboard
When an input gains focus, some devices – mostly mobile devices – will expose a Virtual Keyboard. As found through testing, some browsers resize the Layout Viewport – and thus the ICB – when doing so. Other browser do not resize the Layout Viewport in that case.
Resizing the Layout Viewport affects where
position: fixed
elements end up. These elements get laid out against the edge of the Layout Viewport. By (not) resizing the Layout Viewport, they might end up in different places in different browsersBy resizing the Layout Viewport, the ICB also gets resized, as the ICB size is derived from the Layout Viewport.
Resizing the ICB in its turn has an effect on the calculation of Viewport Units.
Some questions to spark the discussion:
The text was updated successfully, but these errors were encountered: