-
Notifications
You must be signed in to change notification settings - Fork 112
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
[BUG]: Can't prevent pressing Enter from input #676
Comments
Can you try keydown capture event? |
We can add a prop and include it in the condition here, or we can also check whether the event is prevented or not, which I think will be the most effortless. BTW I tried it didn't work. |
Which component did you attach the keydown capture event? |
bl-input |
I've attached capture event to form and it works for me. |
🎉 This issue has been resolved in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Issue description
I prevent keydown event but not working. I don't want to trigger form element.
Media & Screenshots
No response
Baklava Version
2.2.0-beta.12
Operating system
OS: [e.g. iOS]: MacOS
Browser [e.g. chrome, safari]: Firefox
Any other details...
Priority this issue should have
Low (slightly annoying)
Please review the checkboxes that are applicable.
The text was updated successfully, but these errors were encountered: