You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, this behavior used to work in the previous version
The previous version in which this bug was not present was
10
Description
In Chrome Version 102.0.5005.63 (Official Build) (64-bit) at less than 100% zoom (tested at 90% zoom), when the _canBeEnabled method in block-scroll-strategy.ts executes it incorrectly determines that the cdk-global-scrollblock class should be added to the html element. This causes an unnecessary scroll bar to appear on the page. This can be reproduced in the Angular Material docs page for the Dialog using the examples there.
I think it would be best to change it to: overflow-y: auto (which should be by default, instead of "scroll"...) so that it could handle the cases for protruding elements too
Is this a regression?
The previous version in which this bug was not present was
10
Description
In Chrome Version 102.0.5005.63 (Official Build) (64-bit) at less than 100% zoom (tested at 90% zoom), when the _canBeEnabled method in block-scroll-strategy.ts executes it incorrectly determines that the cdk-global-scrollblock class should be added to the html element. This causes an unnecessary scroll bar to appear on the page. This can be reproduced in the Angular Material docs page for the Dialog using the examples there.
Reproduction
Steps to reproduce:
Expected Behavior
The cdk-global-scrollblock is not added to the html element
Actual Behavior
The cdk-global-scrollblock is added to the html element, causing an unnecessary scroll bar to appear
Environment
The text was updated successfully, but these errors were encountered: