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

[Accordion Menu] Animation loop #7413

Closed
Vincent-P opened this issue Dec 5, 2015 · 2 comments
Closed

[Accordion Menu] Animation loop #7413

Vincent-P opened this issue Dec 5, 2015 · 2 comments

Comments

@Vincent-P
Copy link

How can we reproduce this bug?

  1. Just take an accordion menu
  2. Double click on a link
  3. And the open/close animation loop

What did you expect to happen?

Just a open/close animation

What happened instead?

The menu keeps opening / closing.

Test case
http://codepen.io/anon/pen/gPOjYz
or just the one in the docs (http://foundation.zurb.com/sites/docs/accordion-menu.html#)

@TvrtkoM
Copy link
Contributor

TvrtkoM commented Dec 6, 2015

the commit seem to fix the problem problem partially. Specific toggle tempo can still be achieved to keep animation loop going and it also delays the animation start a bit.
Setting the time-out time to 300 seems to prevent it completely but the delay seem to long.

@TvrtkoM
Copy link
Contributor

TvrtkoM commented Dec 6, 2015

seems like just checking for animation state on toggle trigger eliminates the repeating loop :D

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

No branches or pull requests

3 participants