This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
Add transitions to collapsible content #2753
Closed
Activity
jblas commentedon Oct 19, 2011
@jimdoescode
Yeah animations would be cool. The current set of transition animations might not work as expected though since they use CSS transforms which don't actually modify the dimensions of what they animate. So if folks are expecting the content to actually push things down as it grows, we might need to have a different set of animations.
toddparker commentedon Oct 20, 2011
Yeah, a good idea to consider. Can you add a link to this issue to the feature request wiki page here on github and we'll re-open if.when we decide to tackle this.
jimdoescode commentedon Oct 20, 2011
It's added. Thanks
jerone commentedon Oct 23, 2012
Would be nice if this feature could be added.
For now I have worked around this by writing the following code (http://jsfiddle.net/jerone/gsNzT/):
toddparker commentedon Oct 23, 2012
Thanks for the example code @jerone, I'm sure some people will want to know how to do that. The reason we don't animate collapsibles currently is that this is fairly intensive for a mobile device to do, especially if the collapsible is part of a longer page because it needs to re-flow for each step in the animation. I can see us adding this at some point when the devices are a bit better.