Skip to content

Listbox multiple closes immediately when option is selected in 2.2.6 #3765

@joeykmh

Description

@joeykmh

What package within Headless UI are you using?

@headlessui/react

What version of that package are you using?

v2.2.6

What browser are you using?

For example: Firefox

Reproduction URL

https://codesandbox.io/p/sandbox/headless-ui-listbox-closing-88fl8c

Describe your issue

Potentially related to #3763

In a Listbox with the multiple prop, selecting a ListboxOption closes the ListboxOptions immediately. This is not the behavior in 2.2.5 and below, where clicking one of the options keeps the ListboxOptions open.

Screen recording:
https://github.com/user-attachments/assets/16b0e556-c93c-48f0-bcca-7eceb9fdbccc

Metadata

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