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

Add a skipAnimation option to addItem to avoid initial collapse animatio... #7

Open
wants to merge 1,148 commits into
base: master
Choose a base branch
from
Open

Conversation

mitechie
Copy link

Here's the pull request from a branch of yui3 gallery with the changes. The last commit should just be the one to cherry pick. I removed the debugger and fixed the typo and rebased that back down to a single commit.

Let me know if there's anything else I can do to help.

YUI Builder added 30 commits January 18, 2012 13:09
YUI Builder and others added 29 commits June 20, 2012 13:08
@ipeychev
Copy link
Owner

Hello Richard,

You are adding skipAnimation parameter to _processItems and _collapseItem functions, but such parameter should be added to _expandItem too (and after that to _processExpanding).

Btw, Accordion currently provides an attribute, useAnimation. If you set it to false just before adding your item and then set it to true again, does this solve your problem?

Thanks,

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

Successfully merging this pull request may close these issues.

2 participants