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

Adding examples #4

Open
dparkar opened this issue Sep 20, 2017 · 2 comments
Open

Adding examples #4

dparkar opened this issue Sep 20, 2017 · 2 comments

Comments

@dparkar
Copy link

dparkar commented Sep 20, 2017

I have added this package to my react app and I am using the AnimakitElastic component as per the documentation, however I am unable to see the animations.

Would it be possible to add more samples with corresponding css to make it easier for new folks to react ? Would be much appreciated.

@askd
Copy link
Member

askd commented Sep 27, 2017

Thank you for the issue. AnimakitExpander does not depend on any CSS. It just resizes when something inside it resizes. All you need is to operate content dimensions. Of course, it can't have absolute positioning.
You can inspect example here: https://animakit.github.io/#/elastic to have an idea.
But maybe the problem is deeper. I'll try to update React version and test it.

@dparkar
Copy link
Author

dparkar commented Sep 29, 2017

Thank you for looking into it, here's my repo and branch in which I am using it : https://github.com/dparkar/blog-react/blob/dev/dparkar/animakit/ta38/src/logs.jsx

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

No branches or pull requests

2 participants