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

[Bug]: The fluent-radio-group won't trigger the change event when switching between radios using keyboard(the Up/Down keys) #33456

Open
2 tasks done
HcySunYang opened this issue Dec 12, 2024 · 0 comments

Comments

@HcySunYang
Copy link

Component

Accordion

Package version

3.0.0-beta.70

@microsoft/fast-element version

2.0.0

Environment

System:
    OS: Windows 11 10.0.22631
    CPU: (20) x64 Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz
    Memory: 39.44 GB / 63.72 GB
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527

Current Behavior

See the gif below, when using the mouse to change the selection, it is working fine, the change event of the radio group will be triggered. But if you are switching between radios using the keyboard, such as pressing the Up/Down key, the selection state has been changed visually but it doesn't trigger the change event

Image

Expected Behavior

The change event should be triggered when using keyboard to switch between radios

Reproduction

https://github.com/HcySunYang/fluent-ui-radio-but-repro

Steps to reproduce

  1. Clone the github repo
  2. pnpm install
  3. pnpm start
  4. Interactive with the radio group components using keyboard and mouse, and see the console

Are you reporting an Accessibility issue?

None

Suggested severity

Urgent - No workaround and Products/sites are affected

Products/sites affected

No response

Are you willing to submit a PR to fix?

no

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants