Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The geometrychange
event of the VirtualKeyboard
interface fires when the on-screen virtual keyboard is toggled between shown and hidden states.
The geometrychange
event is useful to detect when the virtual keyboard appears and disappears, so you can adjust the layout as appropriate. This is necessary when using the Virtual Keyboard API to disable the browser's default automatic resizing of the viewport when the virtual keyboard is shown and hidden.