- From: Bramus! via GitHub <sysbot+gh@w3.org>
- Date: Thu, 20 Apr 2023 11:59:49 +0000
- To: public-css-archive@w3.org
Imo there should be something like `window.viewport` – mimicking `window.visualViewport` but then exposing values of the (layout) viewport. The large and small dimensions could also have a place on there. Having these large/small viewport values available would help authors to prepare a layout **before** the virtual keyboard is actually shown. I know this has been a request from the Ionic team, amongst others _(the real problem there being that the Virtual Keyboard API does not trigger a `beforeGeometryChange` event)_. On a side note: it could become confusing when there is more than 1 interactive widget: for the Small Viewport, do you consider just one or all interactive widgets expanded? Right now the virtual keyboard is the only interactive widget so it is not much of a problem, but I can imagine some extra top banner injected by the user agent could be a second one over time. -- GitHub Notification of comment by bramus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8709#issuecomment-1516205267 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 20 April 2023 11:59:51 UTC