Re: [w3ctag/design-reviews] Virtual Keyboard API - boundaries of docked overlay keyboard (#507)

Possibly silly question: if the point of `geometrychange` is simply to allow restyling certain elements in the page to accommodate the keyboard, would it be possible to provide the necessary constraints via CSS environment variables or similar, rather than fire a whole event?

e.g. 
```css
.search-box {
   bottom: env(safe-keyboard-inset);
}
```

I see there is some discussion above about an inset - did something change in this area?

What other actions might an author take in response to that event?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3ctag/design-reviews/issues/507#issuecomment-635013912

Received on Thursday, 28 May 2020 00:20:03 UTC