-
Notifications
You must be signed in to change notification settings - Fork 3.4k
mdMenu sometimes blocks the entire screen #3892
Comments
+1 Same problem for me |
Does it have focus? If it doesn't, then it's the same issue as this one I posted. I thought it was Android specific, but it might just occur often on Android? There were recent changes with dealing with the open animation. Maybe it's getting stuck. It could be a timing issue where the backdrop gets dropped in at the wrong time, covering the menu elementsand blocking mouse inputs. ˜˜Edit: This might be the culprit:˜˜ ˜˜623496efd70752405018dab3a44a1dee24449ebb˜˜ ˜˜Can somebody undo this change to md-menu and see if the problem persists?˜˜ Found it. It has to do with the onShow animator, specifically here:
It times out on Android (and I'm assuming some PCs). The timeout isn't working properly so it just fails and blocks access. If you increase the timeout (I tried the default 3000), it works. I'm going to close the other issue as this is more general and maybe do a PR if I can fix it myself. Okay, last comment. Replace .then with .finally immediately after and it works. Will build PR now (unless somebody beats me to it.) |
Having the same issue with 0.10.1-rc3 with angular 1.4.3 in my application. Just tried it in the in the documentation app and managed to reproduce it. I found it easier to reproduce it with IE11. |
Relevant #3837 |
Relevant - See my update to my closed issue #3773 |
Still happening in 0.10.1-rc4 (& angular 1.3.15). |
This will be fixed soon and committed to master. |
@ThomasBurleson but now everything with a ng-click on it (including md-menu) does not work in IE anymore #3943 |
@stefan-schweiger I don't think that's it because it is broken in RC4 as well. Works in Microsoft Edge though :) |
@stefan-schweiger, @vprenner - can you confirm that this SHA af05235
|
i can confirm that ng-click now works in ie11 with the build from master. |
👍 |
I managed to reproduce this on the Angular Material demo site as well (see screenshot).
When clicking on the menu sometimes it creates a md-backdrop element upon opening. This element covers everything and you cannot click anything anymore.
I saw this bug was reported a few times ago as well. Seems it's still there.
I manage to reproduce it in the rc3 version as well as the head version.
Steps to reproduce: just keep clicking an icon (i was clicking on the width="4" one on the bottom of the demo page). Once the menu opens, close it by clicking outside the menu. Do this a few times and the UI will be blocked by the md-menu-backdrop.
On the Angular Material demo site it happens rarely. On the site I'm working on it happens quite often (in 50% of cases cca).
Testing was done on Chrome v44.
The text was updated successfully, but these errors were encountered: