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

Fire multiple events when pressing combo without releasing all keys #36

Open
wdanilo opened this issue Dec 28, 2023 · 1 comment
Open
Assignees
Labels
enhancement New feature or request

Comments

@wdanilo
Copy link

wdanilo commented Dec 28, 2023

Describe the bug
Consider this code: useKeyCombo("meta + enter"). When I use this sequence:

  • press meta
  • press enter - event fires
  • release enter
  • press enter - event does not fire.

I see that sometimes such behavior might be desired, but sometimes not (I even think it is not desired in most cases). I did not find a way to change it in the library (which is amazing btw). Would it be possible to have it? Without it, some actions in GUI are not programmable with a good UX and thus I think this should be considered a bug.

@RobertWHurst RobertWHurst added the enhancement New feature or request label Dec 29, 2023
@RobertWHurst RobertWHurst self-assigned this Dec 29, 2023
@RobertWHurst
Copy link
Owner

An interesting idea. I'll circle around on this soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants