-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Transitions never finish for hidden elements #2062
Comments
This sounds suspiciously like the problems I was trying to solve when I started working on the bootstrap3 version of collapse last summer! There were workarounds implemented, but they kind of sucked and could be improved upon. You could always take a look at the old PRs for that (the issue number escapes me) for inspiration on how to fix it. |
+1 |
1 similar comment
+1 |
This will be resolved when the transition to using $animate / ngAnimate is done. There are a number of issues open for this. For example: #1444 |
Okay cool. I'll leave my quick fix in for now then |
Could this problem be related to the carousel too ? When I click on the left/right arrows to change slide, it works only the first time (basically the If I click on the small white circular indicators, it works but with some flashing of the carousel. |
Fixes angular-ui#1350 Fixes angular-ui#1513 Fixes angular-ui#1185 Fixes angular-ui#2062 Fixes angular-ui#2235
Fixes angular-ui#1350 Fixes angular-ui#1513 Fixes angular-ui#1185 Fixes angular-ui#2062 Fixes angular-ui#2235 Closes angular-ui#2067
Fixes angular-ui#1350 Fixes angular-ui#1513 Fixes angular-ui#1185 Fixes angular-ui#2062 Fixes angular-ui#2235 Closes angular-ui#2067
Fixes angular-ui#1350 Fixes angular-ui#1513 Fixes angular-ui#1185 Fixes angular-ui#2062 Fixes angular-ui#2235 Closes angular-ui#2067
Fixes angular-ui#1350 Fixes angular-ui#1513 Fixes angular-ui#1185 Fixes angular-ui#2062 Fixes angular-ui#2235 Closes angular-ui#2067
file: transition.js
If an element is not visible then the
transitionEnd
events will never file.Quick fix - uses jQuery
is:('visible')
This fix requires jQuery
.is(':visible')
however I am sure there would be a jqlite work around.Example of problem:
If you start a collapse on an element that is hidden then the
collapsing
class will be added, but it will never be removed and replaced withcollapse in
.The text was updated successfully, but these errors were encountered: