Skip to content

feat(VCommandPalette): add closeOnSelect prop and before-select event#22634

Merged
J-Sek merged 2 commits intonextfrom
matthewary/VCommandPalette-support-prevent-close
Mar 8, 2026
Merged

feat(VCommandPalette): add closeOnSelect prop and before-select event#22634
J-Sek merged 2 commits intonextfrom
matthewary/VCommandPalette-support-prevent-close

Conversation

@MatthewAry
Copy link
Copy Markdown
Contributor

Description

  • Introduced closeOnSelect prop to control the auto-close behavior of the command palette after selecting an item.
  • Added before-select event to allow users to prevent the palette from closing, enabling drill-in navigation.
  • Updated documentation to reflect these new features and added an example for controlled close behavior.

Markup:

An example has been added to the docs

- Introduced `closeOnSelect` prop to control the auto-close behavior of the command palette after selecting an item.
- Added `before-select` event to allow users to prevent the palette from closing, enabling drill-in navigation.
- Updated documentation to reflect these new features and added an example for controlled close behavior.
@MatthewAry MatthewAry requested a review from J-Sek February 20, 2026 19:30
@J-Sek J-Sek merged commit f5d3b52 into next Mar 8, 2026
16 checks passed
@J-Sek J-Sek deleted the matthewary/VCommandPalette-support-prevent-close branch March 8, 2026 00:17
@J-Sek J-Sek added T: feature A new feature labs Must be completed for this component to leave labs C: VCommandPalette labels Mar 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VCommandPalette labs Must be completed for this component to leave labs T: feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants