Bug 230225

Summary: Implement the VirtualKeyboard API
Product: WebKit Reporter: Bramus <bramus>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: cyb.ai.815, dbates, dvpdiner2, hendrex.jakai, john.crim, kevin_neal, megan_gardner, webkit-bug-importer, wenson_hsieh, woodlxf00
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Description Bramus 2021-09-13 11:43:11 PDT
> The VirtualKeyboard API provides authors with greater control over the visibility of the virtual keyboard (VK), and greater ability to adapt the layout of web pages when VK visibility changes.

Relevant Links:

- Explainer: https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/VirtualKeyboardAPI/explainer.md
- Spec: https://www.w3.org/TR/virtual-keyboard/
Comment 1 Bramus 2021-09-13 11:45:32 PDT
Other Browsers/Engines:

- Chromium: https://www.chromestatus.com/feature/5680057076940800 (Shipping with Chromium 94)
- Gecko/Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1730568
Comment 2 Radar WebKit Bug Importer 2021-09-15 09:40:27 PDT
Comment 3 Kevin Neal 2021-09-15 09:41:30 PDT
Thank you for filing. The appropriate engineers have been notified.
Comment 4 N 2023-01-05 08:40:55 PST

Any update on this?

It's very hard (if possible at all) to control whether the Keyboard hides the bottom contents of the screen, which is different from the behavior of the other browsers on Android.

Chrome v108 allows to control this via viewport meta - https://developer.chrome.com/blog/viewport-resize-behavior/

which gives more flexibility to devs.

Would be nice to see Safari implementing any kind of flexibility, as at the moment we have none.