Skip to content

Support quick inputs overlapping anchor elements#318858

Merged
kycutler merged 3 commits into
mainfrom
kycutler/quickinputoverlap
May 29, 2026
Merged

Support quick inputs overlapping anchor elements#318858
kycutler merged 3 commits into
mainfrom
kycutler/quickinputoverlap

Conversation

@kycutler
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 28, 2026 21:59
@kycutler kycutler self-assigned this May 28, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Quick Input anchoring API to support an explicit anchor placement mode that can “overlay” the anchor element, and updates the browser controller to position/size anchored quick inputs accordingly (including across auxiliary windows).

Changes:

  • Added anchorPosition?: 'above' | 'below' | 'overlay' to IPickOptions and IQuickInput.
  • Plumbed anchorPosition through quick pick creation so controllers can honor the requested placement.
  • Updated QuickInputController to (a) reparent anchored UI into the owning window and (b) add 'overlay' positioning/sizing logic.
Show a summary per file
File Description
src/vs/platform/quickinput/common/quickInput.ts Adds the new anchorPosition option to quick input / pick option interfaces and documents intended behavior.
src/vs/platform/quickinput/browser/quickInputController.ts Wires anchorPosition, reparents anchored UI to the anchor’s window, and implements overlay/above/below positioning logic.

Copilot's findings

  • Files reviewed: 2/2 changed files
  • Comments generated: 5

Comment thread src/vs/platform/quickinput/browser/quickInputController.ts
Comment thread src/vs/platform/quickinput/browser/quickInputController.ts Outdated
Comment thread src/vs/platform/quickinput/browser/quickInputController.ts Outdated
Comment thread src/vs/platform/quickinput/browser/quickInputController.ts Outdated
Comment thread src/vs/platform/quickinput/browser/quickInputController.ts
@kycutler kycutler marked this pull request as ready for review May 28, 2026 22:57
@kycutler kycutler requested a review from TylerLeonhardt May 28, 2026 22:57
@kycutler kycutler merged commit 5e335b4 into main May 29, 2026
25 checks passed
@kycutler kycutler deleted the kycutler/quickinputoverlap branch May 29, 2026 13:21
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 29, 2026
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.

3 participants