select: inside md-dialog allows page scroll when panel open #9724
Description
Actual Behavior:
What is the issue? *
I has a <md-select>
inside <md-dialog>
. I need the disableParentScroll: false
for the <md-dialog>
. But when I open the <md-select>
inside <md-dialog>
and scroll the page, the dialog will scrolled to top but the select will fixed on the page.
What is the expected behavior?
The expected behavior should be when open the select dropdown the page cannot be scrolled any more even though it can be scrolled before. If I use <md-select>
alone, not inside a <md-dialog>
, it has the expected behavior.
CodePen (or steps to reproduce the issue): *
CodePen Demo which shows your issue:
http://codepen.io/zoeychan2013/pen/BLdLgyDetails:
ClickOPEN DIALOG
button and open the select dropdown inside the dialog. Then scroll the page.
Angular Versions: *
Angular Version:
1.4.3Angular Material Version:
1.1.1
Additional Information:
Browser Type: *
Chrome, Firefox, SafariBrowser Version: *
[email protected], [email protected], [email protected]OS: *
Mac OS X Yosemite, darwin x64Stack Traces:
Shortcut to create a new CodePen Demo.
Note: *
indicates required information. Without this information, your issue may be auto-closed.
Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.