Skip to content

Add an inline search variant for the Combobox#449

Open
jaieds wants to merge 6 commits into
stagingfrom
select-component/inline-search
Open

Add an inline search variant for the Combobox#449
jaieds wants to merge 6 commits into
stagingfrom
select-component/inline-search

Conversation

@jaieds
Copy link
Copy Markdown
Contributor

@jaieds jaieds commented Apr 28, 2026

Description

Screenshots | Video with voice-over

Link to Figma (If applicable)

How has this been tested?

Checklist:

  • My code is tested
  • Screenshot added in PR
  • Figma design linked
  • My code follows accessibility standards
  • My code has proper inline documentation
  • I have resolved all lint issues
  • My templates are responsive
  • I've added conditional class names use cn()
  • I've followed theme color usage
  • I have used clear and relevant file paths

jaieds added 5 commits April 27, 2026 11:51
- Add `inlineSearch` prop: renders search input inside the trigger
  instead of the dropdown. Selected items show as badges (multi) or
  as the input value (single). Mutually exclusive with `combobox`.
- Wire floating-ui combobox pattern: input is the interactive
  reference, wrapper div is the position reference. `virtual: true`
  in useListNavigation so items use aria-activedescendant without
  stealing DOM focus.
- UX polish: selected label shown in input on open (no highlight),
  typing appends and filters, search clears on any close (Escape,
  outside-click, or selection), Backspace removes last badge in
  multi mode.
- Add InlineSearchSingle, InlineSearchMulti, InlineSearchWithCombobox
  stories with interaction test coverage.
- Update readme.md and select-types.ts for new prop.
@jaieds jaieds requested a review from imnavanath April 28, 2026 16:05
Comment thread .claude/settings.json Outdated
Comment thread .claude/settings.json Outdated
Comment thread .claude/settings.json Outdated
@ManiruzzamanAkash ManiruzzamanAkash force-pushed the select-component/inline-search branch from fc784ca to 2098698 Compare May 14, 2026 03:52
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.

1 participant