likeastore / ngDialog

Modals and popups provider for Angular.js applications
http://likeastore.github.io/ngDialog
3.14k stars 692 forks source link

Fix for issue #520 where IE11 flashed up the modal after close #535

Open glenatron opened 7 years ago

glenatron commented 7 years ago

Issue #520 is caused by an IE bug, which Microsoft do not intend to fix. This works around that by setting a manual timeout based on the animation duration configured for the modal element.

What issue is this PR resolving? Alternatively, please describe the bugfix/enhancement this PR aims to provide

Have you provided unit tests that either prove the bugfix or cover the enhancement?

Related issues

faceleg commented 7 years ago

I appreciate the work. I hate browser hacks. I understand this is the only way to fix this.

I understand this should fix the issue for our users and will merge when you've made the above changes.

Thanks!