Skip to content

[select] Glitchy alignItemWithTrigger behavior when Popup has max-height #3396

@mirka

Description

@mirka

Bug report

Current behavior

The alignItemWithTrigger behavior of the Select.Positioner can be glitchy when there's a max-height on the Select.Popup and the list is overflowing. It can look as if the popover is scrolling away from the trigger.

Expected behavior

Scrolling is contained within the overflowing list.

Reproducible example

https://stackblitz.com/edit/ypr9pa86?file=src%2Findex.module.css

CleanShot.2025-12-03.at.08-08-08.mp4

Base UI version

1.0.0-beta.7

Which browser are you using?

Chrome

Which OS are you using?

Mac OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: selectChanges related to the select component.type: bugIt doesn't behave as expected.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions