Open nitsud333 opened 8 years ago
Same issue here, version 1.1.4 of Material.
Disable Scroll Mask is set to true on MdPanel
MdPanelRef.prototype._createPanel = function() {
...
if (self.config['disableParentScroll']) {
self._restoreScroll = self._$mdUtil.disableScrollAround(
null, self.panelContainer, { disableScrollMask: true });
}
setting disableScrollMask: false
fixes the issue.
In my case, the scroll wheel and touchmove
are only disabled, I can scroll manually by dragging the scroll bar down. It seems the demo above does the same.
Anybody know why disableScrollMask
is hard-coded to true
?
As far as I see, setting it to false
fixes this issue.
When it's set to true
it attaches the disable mousewheel and touchmove events to the panel.
Has this not been resolved? I'm experiencing this right now. Pretty annoying.
Any solution for this issue?
The proposition of otterslide seems working. At this moment we didn't experiment any disturbing side effect.
So you literally made source code changes then reuglified the js? Pain right?
Not really, I just edit both files. We use an older version and we are linked to bower (why it is bower-material and not angular-material branch). But you can see my current version here: https://github.com/laetitia-gangloff/bower-material/commit/f2c8486eb376eed2b00c66b03840dbe4c29c40d3
I tried the suggestion by @otterslide above with the latest code in master
and this didn't work for me. I wasn't able to scroll the menu even by dragging the vertical scrollbar.
Actual Behavior:
What is the issue? *
settingdisableParentScroll: true
disables mdPanel scroll abilityWhat is the expected behavior?
Panel should scroll while background doesn't.CodePen (or steps to reproduce the issue): *
Angular Versions: *
Angular Version:
1.5.5Angular Material Version:
1.1.0