Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Select] Menu does not focus without empty option #16292

Closed
2 tasks done
ryanburr opened this issue Jun 19, 2019 · 1 comment
Closed
2 tasks done

[Select] Menu does not focus without empty option #16292

ryanburr opened this issue Jun 19, 2019 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@ryanburr
Copy link
Contributor

When there is not an empty option in the Select component and the select currently does not have a value, opening the menu (via mouse or keyboard) does not focus the menu at all, which results in the Up/Down arrow keys being useless.

  • This is not a v0.x issue.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

I expect the up and down arrows to be usable after opening the menu when there is not an empty option and the component does not have a value.

Current Behavior 😯

I am not able to navigate through the select option via the up/down keys when the menu does not have an empty option and the component does not have a value.

Steps to Reproduce 🕹

Context 🔦

To keep the Select component fully accessible via keyboard.

Your Environment 🌎

Tech Version
Material-UI v4.1.1
React v16.9.0
Browser any
@ryanburr
Copy link
Contributor Author

Duplicate of #15973

@oliviertassinari oliviertassinari added the duplicate This issue or pull request already exists label Jun 20, 2019
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants