Summary: | iPadOS window.visualViewport.height incorrect when using external keyboard | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tyler Leonhardt <me> |
Component: | WebKit Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | thorton, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar |
Version: | Safari 16 | ||
Hardware: | iPhone / iPad | ||
OS: | iOS 16 |
Description
Tyler Leonhardt
2022-11-02 23:19:53 PDT
Related VS Code for the Web issue: https://github.com/microsoft/vscode/issues/149048 Coming back to this as we have heard complaints from more users. We considered using `body.clientHeight` as a workaround, but unfortunately, this does not update when a user triggers the _virtual_ keyboard. ...and that, has been a 12 year problem of detecting when a user opens the virtual problem sadly: https://stackoverflow.com/questions/2593139/ipad-web-app-detect-virtual-keyboard-using-javascript-in-safari hoping to wave and say a fix for this is very much wanted 🙏 |