This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.
Modal backdrop doesn't animate out #2790
Closed
Description
angular-ui-bootstrap v0.11.2
angular v1.2.24
bootstrap v3.1.1
UA: Chrome 37.0.2062.124
When closing a modal and in response, the backdrop, the backdrop doesn't fade out like it's supposed to, instead just gets removed at the end of the animation timeout. The modal itself does fade out.
You can see this in the examples on the main GitHub page as well.
Looks like in the checkRemoveBackdrop() -> removeAfterAnimate() call, the scope.animate=false; statement is executed outside of the scope digest phase, for the backdrop ONLY.