When switching to full-screen in a Google Chrome Packaged app (using webkitRequestFullScreen
), most of the keyboard keys are not working except for the space button, enter, backspace and arrows.
Is there any way that the other keys (all numbers and letters) are functional when in full-screen mode?
I noticed that most keys do not trigger keydown
, keypress
and keyup
events.
This is a problem especially when working on apps like for example a VNC client, where key events are crucial.
An easy way to check is by removing/uninstalling them from Chrome. To do that, simply right-click on the Chrome extension icon on the top right corner and tap on remove from Chrome. On the extension page, select Remove from Chrome. Restart and try using Chrome shortcuts again.
There are two fullscreen implementations, which differ by a single character. Use the newer HTML Fullscreen specification with webkitRequestFullscreen
(lower case 'screen').
The older specification accessed with webkitRequestFullScreen
(upper case 'Screen') needs Element.ALLOW_KEYBOARD_INPUT
for keyboard support. Avoid, as this is likely to be deprecated.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With