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

radio-group keyboard navigation not working on vitest + happy-dom #7358

Open
csantos-nydig opened this issue Nov 12, 2024 · 1 comment
Open

Comments

@csantos-nydig
Copy link

csantos-nydig commented Nov 12, 2024

Provide a general summary of the issue here

selecting radio options using keyboard (ArrowDown and ArrowUp) is not working on vitest + happy-dom

🤔 Expected Behavior?

"pressing" ArrowDown should select the next radio button and fire its value via onChange

😯 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

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

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