mouse0270 / bootstrap-notify

Turns standard Bootstrap alerts into "Growl-like" notifications.
http://bootstrap-notify.remabledesigns.com/
MIT License
2.25k stars 642 forks source link

IE11 / .close() not working always #130

Open leomazzi opened 8 years ago

leomazzi commented 8 years ago

I'm using: dlg = $.notify();

to show a notification then doing an ajax() to execute data preparation on the server after which I do

dlg.close();
window.location.replace(...);  // forcing a file download

IE after that shows the SaveAs dialog. In this case the notification window does not dissapear in IE11

The solution I have is to do this instead of the previous last line:

setTimeout(function(){ window.location.replace(...); }, 1000);

Seems that IE stops processing all animations when a Save dialog is displayed. Other browsers seems working correctly. If I set a smaller delay then the closing animation sometimes stops not performing to the end.

mouse0270 commented 8 years ago

I have no idea I'll look into this.