Skip to content

feat(VCommandPalette, VOverlay): introduce viewport location strategy#22698

Merged
MatthewAry merged 3 commits intomasterfrom
matthewary/v-command-palette-position-stability-22693
Mar 16, 2026
Merged

feat(VCommandPalette, VOverlay): introduce viewport location strategy#22698
MatthewAry merged 3 commits intomasterfrom
matthewary/v-command-palette-position-stability-22693

Conversation

@MatthewAry
Copy link
Copy Markdown
Contributor

@MatthewAry MatthewAry commented Mar 9, 2026

Description

Fixes the command palette position shifting while typing in the search input.

  • introduces a viewport location strategy (👈 will be renamed to static in #22720)
  • VCommandPalette now defaults to this strategy with location: 'top center'
  • new offset-top prop controls the distance from the top of the viewport

closes #22693

@MatthewAry MatthewAry requested a review from J-Sek March 9, 2026 18:13
@MatthewAry MatthewAry added C: VCommandPalette labs Must be completed for this component to leave labs T: bug Functionality that does not work as intended/expected C: VOverlay T: enhancement Functionality that enhances existing features labels Mar 9, 2026
Comment thread packages/docs/src/pages/en/components/command-palettes.md Outdated
@J-Sek J-Sek requested a review from a team March 13, 2026 19:06
@MatthewAry MatthewAry merged commit 80aee5f into master Mar 16, 2026
16 checks passed
@MatthewAry MatthewAry deleted the matthewary/v-command-palette-position-stability-22693 branch March 16, 2026 13:44
J-Sek added a commit that referenced this pull request Mar 16, 2026
…#22698)

Co-authored-by: J-Sek <J-Sek@users.noreply.github.com>
KaelWD added a commit that referenced this pull request Mar 19, 2026
KaelWD pushed a commit that referenced this pull request Mar 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VCommandPalette C: VOverlay labs Must be completed for this component to leave labs T: bug Functionality that does not work as intended/expected T: enhancement Functionality that enhances existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug Report][4.0.1] VCommandPalette - Position stability while searching

2 participants