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.
Hard coded modal animations #2210
Closed
Description
I noticed that the modal animations are hard coded right now. It is possible to avoid most issues with some CSS magic and/or template overriding but one thing that's impossible to fix is a delay when closing the modal window. See these lines:
https://github.com/angular-ui/bootstrap/blob/master/src/modal/modal.js#L159
https://github.com/angular-ui/bootstrap/blob/master/src/modal/modal.js#L170
A parameter called emulateTime is passed into the function removeAfterAnimate with the values 300 and 150 respectively, which makes closing the modal look sluggish.
There should be a way to disable animations all together.