Open
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
See: #30254, it was present in 18 version.
Description
Demo: https://github.com/lopatnov/autocomplete-issue
Reproduction
StackBlitz link: I don't use StackBlitz, don't know how to upload demo here.
Steps to reproduce:
- Open dialog with some elements, to have scroll in the dialog
- Open Autocomplete items
- Scroll down dialog scroll and you will see issue
Expected Behavior
Options of Autocomplete should stay below autocomplete, as it was opened. They don't need to move with dialog scrollbar.
Actual Behavior
When dialog scrollbar moves, then autocomplete options also moves.
Environment
- Angular: 19.1.0
- CDK/Material: 19.1.1
- Browser(s): Chrome
- Operating System (e.g. Windows, macOS, Ubuntu): Windows