-
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
Scroll smooth issue in dialog on close #10033
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Comments
Spent some time looking into it, some things to keep in mind:
|
crisbeto
added a commit
to crisbeto/material2
that referenced
this issue
Feb 25, 2018
Hides the `.cdk-overlay-container` if it doesn't have any attached overlays. This prevents the browser from rendering it as a transparent overlay. Fixes angular#6882. Fixes angular#10033.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
Bug, feature request, or proposal:
scroll is not fluent when dialog is closed.
What is the expected behavior?
on closing dialog, application scroll should be smooth
What is the current behavior?
when dialog is closed, scroll is rough
What are the steps to reproduce?
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Chrome/Chromium are affected but working good in opera
"@angular/core": "^5.2.0",
"@angular/material": "^5.2.1",
"typescript": "~2.5.3"
Is there anything else we should know?
<div class="cdk-overlay-container"></div>
introduces when dialog is opened with.cdk-overlay-container { position: fixed; z-index: 1000; }
after dialog is closed, I tried to remove both properties, scroll seemed smooth.
The text was updated successfully, but these errors were encountered: