bug(sidenav): scroll strategy not taken, when inside mat-sidenav-content #24716
Labels
area: material/select
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Is this a regression?
The previous version in which this bug was not present was
No response
Description
mat-select inside mat-sidenav-content always has BlockScrollStrategy, no matter which strategy is injected with token MAT_SELECT_SCROLL_STRATEGY
Reproduction
Add a mat-select in mat-sidenav-content and change scroll strategy for example to reposition
-> scroll keeps beeing blocked
I added an example here:
https://stackblitz.com/edit/angular-ghcbzc?file=src/material.module.ts
I added the autocomplete component, to test the strategy. For autocomplete it seems to work fine.
Expected Behavior
Scroll strategy should be honored
Actual Behavior
Scroll strategy is always block
Environment
The text was updated successfully, but these errors were encountered: