W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2017

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

From: Jake Archibald via GitHub <sysbot+gh@w3.org>
Date: Fri, 15 Sep 2017 14:28:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-329798661-1505485690-sysbot+gh@w3.org>
@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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:18 UTC