-
Notifications
You must be signed in to change notification settings - Fork 250
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 arrows navigation not causing input[type=radio]
to change focus
#843
Comments
Hey @mwojslaw, I'm having the exact same issue and ran out of threads to follow. Did you manage to work around it somehow? |
Not really, I skipped the test for now |
Yeah, same here, I assume it's Thanks! |
Having this issue as well, |
I have the same issue but with I have tried:
My test looks like this, and it should toggle on Space or Enter when focused:
|
Please keep separate issues separate. |
What do you mean by default behavior? |
@kboedges |
@ph-fritsche can you clarify - is this a change that is required in |
@JRJurman Default behavior on events is reimplemented in https://github.com/testing-library/user-event/tree/main/src/event/behavior user-event/src/pointer/pointerPress.ts Lines 254 to 327 in ee062e7
|
🎉 This issue has been resolved in version 14.3.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@all-contributors add @mwojslaw ideas |
I've put up a pull request to add @mwojslaw! 🎉 |
@testing-library/user-event
version: 13.5.0jest
-v27.4.7
,@testing-library/jest-dom
-v5.16.1
,jsdom
-v19.0.0
Relevant code or config
What you did:
Trigger keyboard navigation on input type radio.
What happened:
onchange
event is not triggered as well.The text was updated successfully, but these errors were encountered: