Open
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
Link to live example:
https://react-tgv59j-vsvdvu.stackblitz.io
Steps:
- Open link
- Click on dropdown
- Preselection for "Twenty" is visible
- If i hit "T" on the keyboard, the selection goes to the next option
- Now eiher click the button below, or click the button, hold the left mouse cursor, drag it somewhere else on the whitespace, and release it
- If you click the dropdown again, nothing is preselected, at least visibly
- If you hit "T", the second element is instantly selected
ALSO:
If you hit "Enter" in Step 6 without selecting any other element, "Twenty" will be selected. So i assume it is preselected, but not visibly.
Current behavior 😯
After clicking the button, the preselection is not visible anymore.
Expected behavior 🤔
I would either expect "Twenty" already being visibly preselected in Step 6, or the Keyboard Action of Step 7 selecting the first Element.
Context 🔦
I currently have an issuew with keyboard controlls sometimes not working for some dropdowns in my application. When the keyboard controlls do not work, there is also nothing preselected.
I assume this is part of the issue.
Your environment 🌎
See stackblitz live example environment.
Browser was Chrome.