-
-
Notifications
You must be signed in to change notification settings - Fork 267
Closed
Labels
component: selectChanges related to the select component.Changes related to the select component.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Duplicates
- I have searched the existing issues
Latest version
- I have tested the latest version
Steps to reproduce 🕹
Link to live example: https://codesandbox.io/s/keen-david-z2r399?file=/src/Demo.tsx
The reproduction is taken from the docs.
Steps:
- Open the first select
- Press down-arrow key multiple times
- Press up-arrow key multiple times
Current behavior 😯
Pressing the down-arrow key doesn't highlight anything but pressing the up-arrow key highlights normally excluding the null value. For the second select, pressing the down-arrow key only highlights the first option and the up-key can only highlight the bottom two options.
Expected behavior 🤔
Pressing either direction key should skip null value Options and highlight the first possible non-null value
Context 🔦
Found while testing
Your environment 🌎
This was done using Firefox Browser. For environment see linked codesandbox.io
Metadata
Metadata
Assignees
Labels
component: selectChanges related to the select component.Changes related to the select component.type: bugIt doesn't behave as expected.It doesn't behave as expected.