Skip to content

Select component menu expanded when some item is being selected #7072

Open
@jandrew44

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

  1. Open the link mentined above
  2. Open select component menu
    Screenshot_7
  3. 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions