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

Clear the KeyStateTracker when the window is blurred #1623

Closed
jessegreenberg opened this issue Mar 27, 2024 · 1 comment
Closed

Clear the KeyStateTracker when the window is blurred #1623

jessegreenberg opened this issue Mar 27, 2024 · 1 comment
Assignees

Comments

@jessegreenberg
Copy link
Contributor

While working on #1621 we noticed that the KeyStateTracker can be incorrect when keys are pressed but focus moves out of the window. We should clear the KeyStateTracker (and emit correctly) when that happens.

@jessegreenberg jessegreenberg self-assigned this Mar 27, 2024
@jessegreenberg jessegreenberg changed the title CLear the KeyStateTracker when the window is blurred Clear the KeyStateTracker when the window is blurred Mar 27, 2024
@jessegreenberg
Copy link
Contributor Author

This is now done as part of #1621, closing.

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

No branches or pull requests

1 participant