You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 29, 2019. It is now read-only.
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:
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.
The text was updated successfully, but these errors were encountered:
I'm currently experiencing the same issue. I've overridden the window template to remove the fade-in effect, but these hard coded values produce a perceived delay when closing the modal.
I agree that there should be a way to disable/replace animations and it leads me to one issue i discovered recently.
When I included ngAnimate, animations looked sluggish on iOS. It looked like it was being animated twice or what.. so I replaced scope.animate = true with $animate.addClass and scope.animate = false with $animate.removeClass, and then it was working fine.. But i'm not sure if it is desired to have ngAnimate as a dependency..
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.
The text was updated successfully, but these errors were encountered: