-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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]: Dropdown in panel - focus is not set on first item #24280
Comments
Hi @nvazhayil , thanks for your report! Can you help us understand the problem better ? The reproduction and your described issue are for 2 separate things. ty |
This is easily reproducible at https://fabricweb.z5.web.core.windows.net/oufr/8.55.3/#/examples/dropdown |
@nvazhayil - Thanks for providing more input into the problem you are experiencing. This issue has been queued for upcoming investigations. To set expectations the developers will review this issue once capacity allows and all updates will be posted on the issue accordingly. |
Gentle ping that this issue needs attention. |
Issue still repros and can be observed when viewport is less than 640px. This is caused by the incorrect list id index being passed to the
|
Fixed the issue. Now focus should be on first item.
Fixed the issue. Now focus should be on first item.
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
1 similar comment
Because this issue has not had activity for over 180 days, we're automatically closing it for house-keeping purposes. Still require assistance? Please, create a new issue with up-to date details. |
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
1 similar comment
Because this reported issue has not had any activity for over 180 days, we're automatically closing it for house-keeping reasons. Still require assistance? Please, create a new issue with up-to date details and latest version of Fluent. |
Library
React / v8 (@fluentui/react)
System Info
Are you reporting Accessibility issue?
yes
Reproduction
https://codepen.io/dbjorge/pen/qBpMabe
Bug Description
Actual Behavior
https://fabricweb.z5.web.core.windows.net/oufr/8.55.3/#/examples/dropdown
This is related to behavior of dropdown when accessed via keyboard. When the browser is maximized, pressing on spacebar will open the dropdown inline and when you press DOWN arrow, the 2nd item in the list is selected.
Now, resize the browser so that when we press on spacebar, the dropdown opens as a panel. Press DOWN arrow and you will see that the 3rd item in the list is selected.
On navigating the dropdown via arrow keys on keyboard, there is inconsistency in the item that is selected, when the browser is maximized and resized.
Expected Behavior
The selected item should be consistent irrespective of whether the browser is maximized or resized.
Logs
No response
Requested priority
Normal
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
The text was updated successfully, but these errors were encountered: