crisbeto / angular-svg-round-progressbar

Angular module that uses SVG to create a circular progressbar
https://crisbeto.github.io/angular-svg-round-progressbar/
MIT License
742 stars 173 forks source link

Round Progress Bar inside of Bootstrap Modal in IE11 prevents modal from closing properly #126

Open markkesty opened 7 years ago

markkesty commented 7 years ago

I have a bit of an esoteric bug with your progress bar which involves placing it inside the button which opens an ng-bootstrap modal. (This is an actual use case for my web application).

The ng-bootstrap modal (https://ng-bootstrap.github.io/#/components/modal) created by the angular team works just fine in IE11 if there is no round-progress bar embedded in the modal button. However, if I put the round-progress-bar in the modal button, the modal opens but when you close the modal, the background remains and the screen is non-reactive.

The console gives the following error: ERROR TypeError: Unable to get property 'apply' of undefined or null reference

Here is a plunker which demonstrates the problem. Try clicking on your round progress bar to open the modal and then close it (in IE11, of course)

http://plnkr.co/edit/HMJr7J8fRjF7OhAYXjHu?p=preview