-
-
Notifications
You must be signed in to change notification settings - Fork 370
Closed
Labels
component: comboboxChanges related to the combobox component.Changes related to the combobox component.type: bugIt doesn't behave as expected.It doesn't behave as expected.
Description
Bug report
Current behavior
Getting weird behavior when rendering a controlled combobox. The StackBlitz is taken directly from the docs Input Inside Popup converted to controlled. I am simulating a network call to set the item data however we are currently using TanStack Query to do so. If a user clicks the popup trigger before the items have been set, we are getting undefined values in the isItemEqualToValue method and Combobox.List.
chrome_3JBjQ3PPVk.mp4
Reproducible example
Base UI version
v1.1
Which browser are you using?
Chrome
Which OS are you using?
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
component: comboboxChanges related to the combobox component.Changes related to the combobox component.type: bugIt doesn't behave as expected.It doesn't behave as expected.