Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Select dropdowns in Settings detach and stay fixed on screen while scrolling #48165

OpenMohamedSayed0573(GitHub profile, opens in a new tab) opened this issue 0 comments

Area

apps/web

Steps to reproduce

  1. Open Settings -> Source control & issues with a connected Linear or Jira account (or Settings -> Threads under Snooze options, or any other Settings view using a SelectPopup without alignItemWithTrigger={false}).
  2. Click a project binding dropdown (or a Snooze option dropdown) to open the menu.
  3. Scroll the Settings pane up and down.

Expected behavior

The dropdown opens below its trigger, tracks the trigger as the Settings pane scrolls, and hides when the trigger scrolls out of the clipping container.

Actual behavior

The dropdown opens directly over the trigger and stays frozen at its opening viewport position while rows scroll underneath it, floating over unrelated projects and sections.

SelectPopup frozen in place while scrolling Settings

Recording (MP4)

Cause

SelectPopup in apps/web/src/components/ui/select.tsx defaults alignItemWithTrigger to true. In Base UI's SelectPositioner, that mode sets disableAnchorTracking: true and position: fixed and relies on document scroll lock, which does not lock inner overflow-y-auto containers such as [data-settings-page-scroll]. IssueTrackerSettings is shared by Linear and Jira, and about 20 other SelectPopup call sites omit alignItemWithTrigger={false} while 73 already pass it explicitly.

Impact

Minor bug or occasional failure

Version or commit

main @ 71217d7188

Environment

Web and Electron desktop (apps/web)

  1. tanstack-source added labelsbug

Sign in to join this conversation.