Re: [csswg-drafts] [css-variables] User Agent properties and variables

@diligiant On Android & iOS, the keyboard just reduces the viewport size, you can still scroll down to the area that the keyboard may have obscured. This means `visualViewport` will tell you about it. This works in Chrome today.

When @grorg mentioned "overlay keyboards", I took that to mean something that overlays the viewport, so even if you scroll right to the bottom of the page, the keyboard will still be obscuring content. In this case `constant(safe-area-inset-bottom)` will give you the amount of padding you can apply to the bottom of the page to overcome this.

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

Received on Friday, 15 September 2017 14:28:15 UTC