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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't animate additions in React #4

Open
JemarJones opened this issue Aug 21, 2018 · 1 comment
Open

Doesn't animate additions in React #4

JemarJones opened this issue Aug 21, 2018 · 1 comment

Comments

@JemarJones
Copy link

JemarJones commented Aug 21, 2018

First off, 馃憦馃憦馃憦. This library is awesome and ridiculously easy to use!

I'm noticing that when i add elements to the grid in React, they simply pop into existence rather than animating in in some way. Is this as expected or is there some way to get an animation in this case?

As an example i've modified the codepen from the readme to add new elements to the grid whenever you click somewhere within the grid (like on an element).

Thanks!

Edit:
Just looked at the vanilla codepen and noticed this is also how it works with the add card button, so i suppose this is as expected. So this is more of a feature request than a bug i suppose.

@refset
Copy link

refset commented May 29, 2019

@JemarJones I'm guessing your modification did something like this: https://codepen.io/anon/pen/YbOLRM

You can add fade-in transitions to that very easily: https://codepen.io/anon/pen/oRPyYr

It should also be possible to insert and position new items to be hidden beneath the existing items, and then simply animate them into their new positions using the normal mechanisms.

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