Skip to content
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

Initialization of opened branch of multilevel list #16

Open
martinb2 opened this issue Nov 13, 2016 · 3 comments
Open

Initialization of opened branch of multilevel list #16

martinb2 opened this issue Nov 13, 2016 · 3 comments
Labels

Comments

@martinb2
Copy link

Hi,
Thank you for this smart script for accordion. I tried to implement it with opened only one defined branch of closed tree - by class="accordion open" defined in parent elements (in demo) - and there is some problem with calculating height.
It seems that script calculate only height of first parent element and ignore others inside.

<section id="only-one" data-accordion-group> <section class="accordion open" data-accordion> <button data-control>Accordion 1</button> <div data-content> <article>Item</article> <article class="accordion open" data-accordion> <button data-control>2nd Level</button>

image

I tried to figure out and but withou success.

Does anybody have any idea?

@tomasjav
Copy link

+1

@vctrfrnndz vctrfrnndz added the bug label Jul 17, 2017
@vctrfrnndz
Copy link
Owner

Need to check why this is not happening on the demo. Can you provide sample code @martinb2 ?

@claytoncollie
Copy link

Any movement on this one? I am running into the same problem. Set the class to have open but content height is not being calculated properly. Still shows the accordion closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants