-
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
md-menu open on the bad side #2658
Comments
In this case the menu doesn't open on the proper side, because it would go outside of the viewport and the user wouldn't be able to see the content. This is the intended behaviour. |
If it appear on the proper side in this case it would be visible, but it open on the bad side and the menu is not readable. When it open with no scroll it open on good side and its visible |
Alright, I see it now. Sorry for closing it initially. |
…r element is on screen Fixes some faulty logic, introduced in angular#2102, that meant that the overlay considers the viewport's scroll offset when determining how much it overflows on either side. Fixes angular#2658.
…r element is on screen (angular#2677) Fixes some faulty logic, introduced in angular#2102, that meant that the overlay considers the viewport's scroll offset when determining how much it overflows on either side. Fixes angular#2658.
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?
Menu should open on the defined side
What is the current behavior?
See plunker
What are the steps to reproduce?
Click on button
Scroll down
Click again on button
http://plnkr.co/edit/jsQ5z1nu51iEqB0pk9kW?p=preview
Which versions of Angular, Material, OS, browsers are affected?
Material beta 2.0
Angular 2.3.1
The text was updated successfully, but these errors were encountered: