-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Keyboard pressing does not trigger submit event for a button inside a form. #1593
Comments
This may be relevant #904 |
The PR seems to be stale. Is there any intention to merge and release it any soon? |
it stalled because there was no one asking for it, so now it should get some tlc again |
is there anything I can do to speed up the process? |
Thank you for your offer, the team wants to go over a few options so we'll be making time for it in the next sprint. |
thanks for the info! |
hi, what's the status of this? |
😯 Current Behavior
Pressing the space or enter key does not trigger a submit event for
type="submit"
button inside a form. However, it does trigger theonPress
action on button which makes it really confusing.🤔 Expected Behavior
Pressing the space or enter key should trigger a submit event for
type="submit"
button inside a form.💻 Code Sample
https://codesandbox.io/s/weathered-silence-eqr18?file=/src/App.tsx
🌍 Your Environment
The text was updated successfully, but these errors were encountered: