This repository was archived by the owner on May 29, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Accordion: contents of all groups briefly shown on page load/show #94
Comments
This is probabaly because of https://github.com/angular-ui/bootstrap/blob/master/src/collapse/collapse.js#L61 |
Thanks for the reply. Commenting that line does eliminate the bouncing effect, but it messes up the layout. The top of the contents of a collapsed accordion remain visible. I am attaching a screenshot to clarify what I mean. In the screenshot, the "filter" div is inside the collapsed accordion and should not be visible. |
Sorry I was wrong. As i understand, in collapse directive, during startup, accordian-group is set to full hight and then css3 transistions are applied to collapse it, which might be the cause for this bug. @petebacondarwin any thoughts/pointers? |
pkozlowski-opensource
pushed a commit
that referenced
this issue
Jan 31, 2013
pkozlowski-opensource
pushed a commit
that referenced
this issue
Feb 1, 2013
pkozlowski-opensource
pushed a commit
that referenced
this issue
Feb 1, 2013
Fixed in 9b06c30 |
codedogfish
pushed a commit
to codedogfish/angular-ui-bootstrap
that referenced
this issue
Sep 15, 2015
chore(build): support for 'grunt watch' with grunt-contrib-watch
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This behavior is visible on the examples web page using up-to-date versions of either chrome or firefox on linux:
http://angular-ui.github.com/bootstrap/#/accordion
The contents of all parts of the accordion briefly expand and are then collapsed.
Same behavior occurs in a test page where accordion is inside an ui-if directive: when the if is toggled the accordion shows up expanded and then collapses. This is particularly bothersome if the accordion has a lot of content, as the whole page below it scrolls down and then bounces back up.
The text was updated successfully, but these errors were encountered: