-
-
Notifications
You must be signed in to change notification settings - Fork 78.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collapse sets wrong height on accordion #2462
Comments
My workaround now was this: |
Not sure if it's related. My content is not dynamic. It only has quite some different length in each group. |
Sorry, my mistake. |
could you create a jsfiddle? thanks! |
I have an accordion, and while it is expanded, I populate the content with js. Unfortunately the content doesn't resize automatically. Is there a way to force the resize of the content. |
I found a workaround which works, and resize properly the height of the content if($("#block").hasClass("in")) |
It seems this issue is gone in 2.0.2. I could only reproduce it in 2.0.1. |
oh great - closing then, thanks! |
I'm having this issue with 2.0.2! |
Same here, having this issue as of right now in 2.0.3. There is a fix from philBrown over at Issue #2131. |
Using 2.0.3 with dynamic content. I found the problem. There are 2 calls to the member function 'transition' in the code. In function 'show', it (line #69) should be like: In function 'hide', it (line #78) should be like: Finally, in the 'transition' function, line #98 should be like: BenjiZombie |
I am having this issue as well, adding .height('auto') fixed this for me. I am on 2.2.2 |
The .height('auto') works me as well. |
I use
collapse()
on a set of 12accordion-group
items, each with different heights. I didn't addin
to anyaccordion-body
. I see that collapse addsheight:418px
to the accordion container. This is way it cuts of several elements on the bottom. I tried to debug but could not really figure, why this height is set at all.The text was updated successfully, but these errors were encountered: