Skip to content
Snippets Groups Projects
Unverified Commit 4b1ae5e6 authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #11398 from hiroshisuga/patch-18

Enable arrow keys immediately after fullscreen
parents bfd56423 97d390cd
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,11 @@ function fullscreenRequest(element) {
element.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
} else if (element.msRequestFullscreen) {
element.msRequestFullscreen();
} else {
return;
}
document.activeElement.blur();
element.focus();
}
const toggleFullScreen = (ref = null) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment