-
Notifications
You must be signed in to change notification settings - Fork 25
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
Nested Accordions Issue #35
Comments
After A is opened, A fold should get height: auto. So it shouldn't be an issue when content of A is changing. Do you have a repo or codepen to reproduce? |
I can see the element id as "handorgel2-fold2-content" and there is a inline style which is getting added i.e height: {variable height}px; The variable height is getting changed only if i click on the accordion. Also Not able to see the height: auto property. I will add a Codepen ASAP and will get back to you with the exact issue reference. |
@soumikpaul16 do you have a Codepen ready? I made a quick test and could not detect any issues with nested accordions, at least not with Handorgel's default CSS: https://codepen.io/fritzmg/pen/qBvQZbb (without any CSS the behavior is janky, yes). |
One thing that does indeed not work however is the usage of |
While using Nested accordions like:
---accordion A
--accordion B
If I am trying to open accordion A.1 after opening accordion A i.e the parent accordion. The height of the content of accordion A "the parent accordion" is not getting recalculated.
Resulting the content of Accordion A.1 to overflow out of the accordion A content's allocated height. Which is breaking the view.
So the question is:
Is it feasible to nest the accordions using Handorgel?
The text was updated successfully, but these errors were encountered: