-
Notifications
You must be signed in to change notification settings - Fork 3.4k
$mdDialog: weird bug if dialog pops when browser tab is not focused, cannot close the dialog #3916
Comments
I also experienced this issue, but i could not figure out when it occurs. |
I had a problem like when i open md-dialog and close it,afterwards click event is not triggering in my page(simply nothing is working after i close dialog,again if i tries to open it is not opening) |
@Tyrannmisu, @ramanathan92 - please retry with the latest code base from master. Please provide a CodePen if this persists. Here are some starter demo templates that you can use/fork:
|
Thanks @ThomasBurleson .It is my fault(my bad).Actually, I added scope: $scope when calling dialog but forgot to add preserveScope: true.That is the reason, it is not allowing me to open dialog. |
I did not experience this issue in 0.10.1-rc4 and rc5 for a long time now. :) |
@Tyrannmisu Can you please check it on HEAD to see if the problem still occurs? |
Sry i totaly forgot to post here. 🙈 |
Good morning i am having the same exact issue right now, doesnt anyone have a fix? |
@lexyfeito please check on head, if it's still happening please post a codepen and I will reopen |
So i finally figure out the problem, event was being sent undefiened. Stupid me :) |
Hi guys
I found out a weird bug - sometimes, I cannot close the dialog with .cancel() / .hide()
I noticed it happened when dialog pops when browser tab is not focused, but it doesn't happend everytime.
In addition - when the bug happens, the dialog onComplete function is not fired.
I'm using 0.10.1-rc3 and latest angular 1.4.4 (bug happens also with angular1.4.3)
Update:
I downgraded to 0.10.0 (and 0.10.1-rc1) and it behaves ok.
so rc2 and rc3 are buggy
Another issue is the dialog animation in rc3 is choppy
The text was updated successfully, but these errors were encountered: