Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to disable esc and F11 key (when in fullscreen mode) to come out of fullscreen mode? #184

Open
ampsteric opened this issue Sep 5, 2020 · 1 comment

Comments

@ampsteric
Copy link

No description provided.

@upsuper
Copy link
Member

upsuper commented Sep 6, 2020

I think browsers generally allow page to preventDefault on keypress of F11, so you can disable it via that. Escape key, however, is a security measure to stop page from trapping users in fullscreen mode, so it can't be disabled by design.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants