angularjsangular-strap

$modal causes page to freeze in IE11


I use the following code snippet to show a simple modal:

$modal({
   title: 'My Title',
   template: 'path/to/my/simple.modal.html',
   show: true,
   scope: $scope
});

After closing the modal some parts of my webpage do not react to any events. In all other browsers this is working fine.

It's also really strange that I am not able to inspect some of the elements after closing the modal, all elements are shown as one single element (when using the Inspector-Tools in IE). After found one inspectable item, all the other items are getting inspectable as well. After inspecting for some moments, there is no freezed part again ... it's a really strange behaviour.

Does anybody else have this behaviour ? I am using Angular 1.5 and Angular-Strap 2.3.7.

Thanks in advance !


Solution

  • Sad, that there were no further hints on this.

    I looked in the angular-strap bug-list for a solution and found one :

    Just call $destroy(); after hiding the modal did the trick for me.

    Best !