[menu][select] Items can still be activated during exit transition
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 99.1k
- Forks
- 32.5k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 106
Description
Current Behavior 😯
After selecting an entry from the Select (simple, non-native), if you immediately click the select again while it is closing (to make a different selection), the selection immediately selects a different entry (instead of displaying the selection list again).
Expected Behavior 🤔
While closing the select, the ul elements are currently hidden but still clickable. Make them non-clickable (pointer-events: none) so that they can fade out but clicking a different entry won't cause a change. At least when they are completely gone, they shouldn't be clickable. Currently there's a 1/2 second window or so where they are. When the main thread is running slowly, the window seems longer.
Steps to Reproduce 🕹
Steps:
- Go to https://material-ui.com/components/selects/
- Open a select
- Select "Twenty" and immediately click the select.
- "Ten" is selected.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.