You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
What is the issue? *
If a material component with disableParentScroll set to true (like mdDialog, mdSelect, ...) is opened, it calls $mdUtil.disableScrollAround. If the body has overflow-x:hidden; in its computed style, then $mdUtil.disableScrollAround will add overflow: hidden to the body (here: https://github.com/angular/material/blob/master/src/core/util/util.js#L298-L300). This breaks the page.
What is the expected behavior?
Same as without overflow-x: hidden
CodePen (or steps to reproduce the issue): http://codepen.io/sebakerckhof/pen/bwQdaV
Scroll down & either open the dialog by clicking the button, or open the select element.