Select component menu expanded when some item is being selected #7072
Open
Description
Environment
- Package version(s):
@blueprintjs/core: 5.13.0
@blueprintjs/select: 5.2.4 - Operating System:
Windows 10 Home Edition - Browser name and version:
Google Chrome 130.0.6723.119
Code Sandbox
Can be reproduced on the Blueprint docs page:
https://blueprintjs.com/docs/#select/select-component
Steps to reproduce
- Open the link mentined above
- Open select component menu
- Use Tab key to iterate to some menu item and press Enter
Actual behavior
Element is selected successfully but select component menu is expanded again.
Expected behavior
Element is selected successfully, select component menu is collapsed.
Possible solution
Use up/down arrow keys to iterate to some menu item and press Enter.
In this case the behavior is correct.
Metadata
Assignees
Labels
No labels