Closed
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
The timepicker does not scroll as expected if the parent element has overflow: auto
but stays in place. Scroll strategies are not working either.
Reproduction
StackBlitz link: https://stackblitz.com/edit/timepicker-scroll-issue-demontration
Steps to reproduce:
- open the timepicker
- scroll the parent element
Expected Behavior
The timepicker should either close itself, scroll with the containing element or block the scroll (like the datepicker).
Actual Behavior
The timepicker floats over the containing element and stays in place while the containing element scrolls beneath it.
Environment
- Angular: 19.2.0
- CDK/Material: 19.2.1
- Browser(s): Chrome, Firefox
- Operating System (e.g. Windows, macOS, Ubuntu): Windows