Oh nice, @FirefoxNightly now has support for the 'interactive-widget' meta viewport key, to control the viewport resize behaviour when showing a virtual keyboard.
There are 3 values to choose from: resizes-visual, resizes-content, and overlays-content.
You can use one of these values to prevent a `position: fixed` element from getting placed underneath the virtual keyboard.
See https://developer.chrome.com/blog/viewport-resize-behavior#opting_in_to_a_different_behavior for all details.
Supported in Chrome from Chrome 108. No word from Safari on this.
@bramus Last time I checked*, Chrome and Safari default to resizes-visual, and Firefox (and a few other browsers) defaults to resizes-content. If that’s still true, then this new feature will be useful to make Firefox behave like the other browsers.
*https://mastodon.social/@simevidas/110844733740544334