-
Notifications
You must be signed in to change notification settings - Fork 6.8k
bug(autocomplete): scroll locking #26484
Copy link
Copy link
Open
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/autocomplete
Description
Is this a regression?
- Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
No response
Description
autocomplete does not behave like other material compnents like menu or select - those lock the scrolling of the underlying div/html/body.
Reproduction
Steps to reproduce:
- https://material.angular.io/components/select/overview
- open autocomplete and scroll on body
Expected Behavior
scroll is locked
Actual Behavior
scrolling is enabled - inconvenient behavior between material components, resulting in multiple issues e.g. z-index or if a container for scrolling is used the autocomplete panel does not scroll.
Environment
- Angular: 15.1.1
- CDK/Material: 15.1.1
- Browser(s): all
- Operating System (e.g. Windows, macOS, Ubuntu): all
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P4A relatively minor issue that is not relevant to core functionsA relatively minor issue that is not relevant to core functionsarea: material/autocomplete
