We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
selecting radio options using keyboard (ArrowDown and ArrowUp) is not working on vitest + happy-dom
ArrowDown
ArrowUp
"pressing" ArrowDown should select the next radio button and fire its value via onChange
onChange
"pressing" ArrowDown does not select the next radio button
I'm almost sure this might be an issue on happy-dom itself, because it works fine in JSDOM.
But it's hard for me to tell what react-aria is doing that is supported by JSDOM but not supported by HAPPY-DOM.
I'm cross-linking both issues, so hopefully we can collaborate and see what needs to be done and where 🙏 capricorn86/happy-dom#1605
No response
npm run test
JSDOM
HAPPY-DOM
latest
Other
vitest + happy-dom
happy-dom
The text was updated successfully, but these errors were encountered:
react-aria-components
Can you check if it works with native radio groups? https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/radio
If I had to guess though, probably a missed case in here https://github.com/capricorn86/happy-dom/blob/8b39e38b23f7258323eb41b842aefc45ace3a814/packages/happy-dom/src/nodes/html-input-element/HTMLInputElement.ts#L1031
Sorry, something went wrong.
No branches or pull requests
Provide a general summary of the issue here
selecting radio options using keyboard (
ArrowDown
andArrowUp
) is not working on vitest + happy-dom🤔 Expected Behavior?
"pressing"
ArrowDown
should select the next radio button and fire its value viaonChange
😯 Current Behavior
"pressing"
ArrowDown
does not select the next radio button💁 Possible Solution
I'm almost sure this might be an issue on happy-dom itself, because it works fine in JSDOM.
But it's hard for me to tell what react-aria is doing that is supported by JSDOM but not supported by HAPPY-DOM.
I'm cross-linking both issues, so hopefully we can collaborate and see what needs to be done and where 🙏 capricorn86/happy-dom#1605
🔦 Context
No response
🖥️ Steps to Reproduce
npm run test
JSDOM
but fails inHAPPY-DOM
Version
latest
What browsers are you seeing the problem on?
Other
If other, please specify.
vitest + happy-dom
What operating system are you using?
happy-dom
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response
The text was updated successfully, but these errors were encountered: