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

Escape Key should exit sketch tool without escaping full screen mode (Firefox only bug) #69

Closed
MattFerraro opened this issue Jun 1, 2024 · 2 comments
Labels
3D UI bug Something isn't working good first issue Good for newcomers

Comments

@MattFerraro
Copy link
Collaborator

When I'm using any of the sketch tools like rectangle or circle or line, I expect to be able to cancel the current rectangle/circle/line by tapping the escape key. This does work on both Chrome and Firefox, but specifically on Firefox if my browser is full screen the escape switches the browser back into partial-screen mode. This is super annoying because then the page resizes and everything reflows. This does not happen on Chrome

Expected behavior is that escape key should not switch the browser from full screen mode to partial screen mode.

I have only seen this behavior on Firefox on a Mac

@MattFerraro MattFerraro added bug Something isn't working good first issue Good for newcomers 3D UI labels Jun 1, 2024
@0HyperCube
Copy link

It is currently impossible to override the standard firefox escape behaviour as this could allow malicious sites to mislead or trap the user. There is some unresolved discussion on blocking the keyboard inputs for this usecase. There is also a chromium only keyboard lock api that resolves this, but nothing yet for firefox.

@MattFerraro
Copy link
Collaborator Author

ouch, that's a big bummer. I guess I'll close this for now then!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3D UI bug Something isn't working good first issue Good for newcomers
Projects
Status: Done
Development

No branches or pull requests

2 participants