Re: [csswg-drafts] [css-values-4] Add vhc value (#4329)

>  should it respond to on-screen-keyboard showing/hiding?

I would say that yes, any feature for adjusting to URL bar show/hide behavior should also include the keyboard and any other pop-up/pop-over browser widgets that cover part of the layout viewport. Example use case: if the UI consists mostly of a large text box, it's nice to make that fill most of the window. It's less nice if the box gets covered up by the keyboard you're using to type in it, and you end up with a scrolling text box inside a scrolling window.

An alternative to adding new units would be to expose environment variables for the size of the obscured region on each side of the screen.  Or maybe, include this type of obscuring in the ["safe inset area" variables](https://drafts.csswg.org/css-env-1/#safe-area-insets) that are already defined.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4329#issuecomment-542406238 using your GitHub account

Received on Tuesday, 15 October 2019 21:10:00 UTC