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

fix #589 prevent toggle play via Space key when typing into an input #591

Merged
merged 1 commit into from
Mar 22, 2024

Conversation

dermeck
Copy link
Contributor

@dermeck dermeck commented Mar 11, 2024

Prevents toogling play/pause when 'Space' key is pressed and an input is the event target.

The two flags in the DialogService and SearchService were removed because they were no longer needed. I am not sure if those will be needed in the future (I can re-add those if you want). For now there was only one more usages besides the "Space key press" which is the focus styling of the search box. That could be solved by :focus-within.

@digimezzo
Copy link
Owner

Nice PR! Thank you!

@digimezzo digimezzo merged commit 69b0d9f into digimezzo:master Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants