-
Notifications
You must be signed in to change notification settings - Fork 377
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
fix: two key strokes required to change item in FluentSelect #1448
Comments
The strange thing is this only happens in WASM and it is not necessary for every item in a select. Even stranger is that if you add an I'll leave this open, but as the impact is really low and the component works as it should , we won't prioritize finding a solution for it. |
I understand. I looked into it a little and found the issue but I have no idea how to solve it properly. This line of code executes "too fast" In WASM the "getAriaActiveDescendant" returns the old item on the first keystroke. You can see it work by just delaying the call even a single millisecond with:
|
Ok, Adding that delay for the next release 4.4.1. |
🐛 Bug Report
While using a FluentSelect with a keyboard 2 key strokes (either arrow up or arrow down) are required to actually change an item.
💻 Repro or Code Sample
E.g. it can be reproduced on https://www.fluentui-blazor.net/Forms with the "Primary Classification" select.
🤔 Expected Behavior
Only one key stroke is required to change an item.
😯 Current Behavior
Exactly two key strokes are required.
The text was updated successfully, but these errors were encountered: