UI: Add Combobox.InputGroup primitive - #80869
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: 0 B Total Size: 7.76 MB |
|
Flaky tests detected in 1115f4d. π Workflow run URL: https://github.com/WordPress/gutenberg/actions/runs/30491091770
|
What?
Adds the missing
Combobox.InputGroupprimitive to@wordpress/ui.Why?
Base UI's Combobox supports an
InputGroupwrapper for composing the input with prefix/suffix slots or other elements. Without it, the popup anchors to the bare<input>instead of the full control. The Autocomplete family already exposes this subcomponent.Specifically, we'll need this component to solve the popover positioning problem raised in review for
SearchableChipSelect.How?
Add a thin
InputGroupwrapper around Base UI'sCombobox.InputGroup, matching the existingAutocomplete.InputGroupimplementation.Testing Instructions
@wordpress/ui.Combobox.InputGroupappears in the subcomponents list.