Skip to content

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

Merged
nkbt merged 1 commit intonkbt:masterfrom
faradayio:no-initial-animation
Dec 19, 2015
Merged

don't animate into place if the component mounts open#19
nkbt merged 1 commit intonkbt:masterfrom
faradayio:no-initial-animation

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