Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(site/src/components/MultiSelectCombobox): minimize scrolling when command list scrolls into view - #29266

Draft
aqandrew wants to merge 1 commit into
mainfrom
aqandrew/devex-711-workspace-create-form-jumpsscrolls-when-adding-or-removing
Draft

fix(site/src/components/MultiSelectCombobox): minimize scrolling when command list scrolls into view#29266
aqandrew wants to merge 1 commit into
mainfrom
aqandrew/devex-711-workspace-create-form-jumpsscrolls-when-adding-or-removing

Conversation

@aqandrew

Copy link
Copy Markdown
Contributor

fixes DEVEX-711

The fix:

  1. Add block: "nearest" to scrollIntoView's options
  2. Move listRef to the CommandList, so that the command list's entire height is taken into account

I had considered disabling scrollIntoView, but that would've reintroduced #18785. That would be a great bug to fix with anchor positioning, if its browser/Tailwind support were better.

TODO add screen recordings

@linear-code

linear-code Bot commented Sep 12, 2026

Copy link
Copy Markdown

DEVEX-711

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