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

Space Button does not work on any input element passed in "trigger" prop #239

Open
JafTan21 opened this issue Nov 30, 2022 · 1 comment
Open

Comments

@JafTan21
Copy link

I have a few tags in the trigger prop, input works for every other key except for "space" key

To Reproduce
use a input tag on trigger prop of the component

Expected behavior
Input should add space when space key is pressed like other keys of the keyboard

@Ol40k
Copy link

Ol40k commented Aug 28, 2023

I had the same problem.
Workaround that helped me:
onKeyPress={(e) => e.stopPropagation()} - on my input
I hope it will save some time for someone with the same problem.

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

No branches or pull requests

2 participants