Styling keyboard focus differently than mouse focus with useSelect? #6858
-
I'm trying to figure out how to style a select listbox differently when it's being navigated with keyboard vs when it's being navigated with the mouse. In the above example I'm using the Does anyone know if there's an alternative solution that resolves this issue? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
We don't know if you've bumped the mouse accidentally or are actually switching to interact with the mouse as your primary interaction method. So we opt to leave it in keyboard modality until a users actually clicks something. |
Beta Was this translation helpful? Give feedback.
We don't know if you've bumped the mouse accidentally or are actually switching to interact with the mouse as your primary interaction method. So we opt to leave it in keyboard modality until a users actually clicks something.