-
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
bug(dialog): opening a dialog, scrolls my page to the top. #1633
Comments
For future reference, this is caused by the |
Fixes the overlay not taking up the entire viewport if the `body` is scrollable. Fixes angular#1633.
) Fixes the overlay not taking up the entire viewport if the `body` is scrollable. Fixes #1633.
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. |
Bug, feature request, or proposal:
Bug.
What is the expected behavior?
Whenever I open a dialog, my page scrolls to the top.
What is the current behavior?
I would like my dialog to be instantiated at the center of what is currently in view.
What are the steps to reproduce?
Create a page with a long list, and open a dialog while at the bottom of the list.
What is the use-case or motivation for changing an existing behavior?
I would like to have a list, where each entry can produce a dialog.
Which versions of Angular, Material, OS, browsers are affected?
Angular 2.1.0, @angular/material": "2.0.0-alpha.9-3, Chrome 54
Is there anything else we should know?
<3
The text was updated successfully, but these errors were encountered: