Skip to content

Conversation

@ethanalvizo
Copy link
Contributor

No description provided.

@ethanalvizo ethanalvizo self-assigned this Oct 30, 2025
@ethanalvizo ethanalvizo marked this pull request as ready for review November 7, 2025 20:06
@ethanalvizo ethanalvizo requested a review from dsmmcken November 7, 2025 20:06
Copy link
Contributor

@dsmmcken dsmmcken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When in the None state, none is mis-aligned, flex might need a center on it?

How come the combobox doesn't close when I select an item from the list

@ethanalvizo ethanalvizo requested a review from dsmmcken November 25, 2025 05:49
@ethanalvizo
Copy link
Contributor Author

When in the None state, none is mis-aligned, flex might need a center on it?

How come the combobox doesn't close when I select an item from the list

After digging deeper into the example it seems the combo box was staying open because I was setting the selected_key of ui.combo_box as None in the first drafts. I've reverted that and instead set the search input value to an empty string. This closes the combo box after making a selection and keeps the "search bar" (which is really just the combo box in this scenario) blank. The only downside of this approach though is that the focus is kept on the search input

@github-actions
Copy link

ui docs preview (Available for 14 days)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants