-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In Chrome at less that 100% zoom, cdk-global-scrollblock class is incorrectly added to html element with block scrolling strategy #25054
Labels
Comments
Is there a solution available for that yet? |
Still relevant |
you can just add
to the global css file to force it to be removed |
I think it would be best to change it to: |
szoboszlaypali
added a commit
to szoboszlaypali/components
that referenced
this issue
Feb 25, 2025
…g wasn't an option Fixes that an unnecessary disabled scroll bar was added when zoomed out during opening dialogs. Fixes angular#25054.
szoboszlaypali
added a commit
to szoboszlaypali/components
that referenced
this issue
Apr 1, 2025
…g wasn't an option Fixes that an unnecessary disabled scroll bar was added when zoomed out during opening dialogs. Fixes angular#25054.
szoboszlaypali
added a commit
to szoboszlaypali/components
that referenced
this issue
Apr 1, 2025
…g wasn't an option Fixes that an unnecessary disabled scroll bar was added when zoomed out during opening dialogs. Fixes angular#25054
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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: