material icon indicating copy to clipboard operation
material copied to clipboard

md-menu - Blocking All Mouse Events

Open RichOren opened this issue 10 years ago • 4 comments

Hello,

I have a weird bug in the md-menu in version 1.0.4+ that I have stumbled upon.

It seams to be Blocking all mouse events when it occurs but I do not know what is causing it to do this. All I know for sure is 1.0.3 is working and when I try to upgrade to a later version then it happens.

I have documented this with a screen capture

video and will try to recreate with a code pen when time permits.

Working Menu - v1.0.3

Menu w/Bug - v1.0.4+

_

You'll need to download the video from DB they wont play in the Flash Player they have.

_

I am sorry I do not have a Idea how it is occurring, I will try to investigate this more and try to fix it if I can.

RichOren avatar Feb 18 '16 20:02 RichOren

@RichOren I wasn't able to load your 1.0.4 video but we're also running into the same issue.

I originally opened issue 6545 requesting a fix for an issue where the md-menu never removed the md-backdrop--and was causing the same behavior as you're experiencing. The fix was to clean up the md-backdrop during the md-menu controller's destroy operations--and was patched in v.1.0.4.

Based on your video it looks like the md-backdrop is still not being removed--despite the fact that the 1.0.4 patch specifically addresses the md-backdrop issue. We've actually seen the md-backdrop being removed as it should but the md-scrollmask sometimes is sticking around.

cah-alexsukhodolsky avatar Feb 22 '16 19:02 cah-alexsukhodolsky

Fixed with SHA 95fbb16. Please retry with builds from /angular/bower-material@master

ThomasBurleson avatar Feb 26 '16 12:02 ThomasBurleson

Tested in /angular/bower-material@master and the problem still exists. I tested to see if the md-backdrop is being removed and it is NOT. When inspecting it is the selected element.

RichOren avatar Feb 29 '16 21:02 RichOren

@ThomasBurleson @cah-alexsukhodolsky - It seems if I delete a widget about the third time it hangs and does not remove the md-backdrop - and sometimes both the md-backdrop and md-scroll-mask

RichOren avatar Mar 23 '16 22:03 RichOren