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

don't animate into place if the component mounts open #19

Merged
merged 1 commit into from
Dec 19, 2015

Conversation

summer4096
Copy link

I encountered an issue when initializing a Collapse element with content and isOpened=true, it would animate into place. It would initialize with a height of 0 and then expand from there. I didn't want that behavior, and I don't know why anybody would want that behavior, so I fixed it. This might be better suited as an optional feature, but again, don't know why people would want current behavior.

@bbenezech
Copy link

I agree. It is a bit weird we are the first two to report that.
I'm using your fork until this get merged. Thanks @devtristan

@nkbt
Copy link
Owner

nkbt commented Dec 18, 2015 via email

@nkbt nkbt self-assigned this Dec 19, 2015
@nkbt
Copy link
Owner

nkbt commented Dec 19, 2015

Works good. I like it. Thank you very much @devtristan

nkbt added a commit that referenced this pull request Dec 19, 2015
don't animate into place if the component mounts open
@nkbt nkbt merged commit f943750 into nkbt:master Dec 19, 2015
@nkbt
Copy link
Owner

nkbt commented Dec 19, 2015

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.

3 participants