react-stonecutter icon indicating copy to clipboard operation
react-stonecutter copied to clipboard

Animate single grid item

Open berrtech opened this issue 9 years ago • 1 comments

If there is only one item in the grid, exit animation doesn't work because grid instantly unmounts (I am talking about SpringGrid). Same for entering animation, SpringGrid doesn't exist when first item enters.

I wonder if i'm doing something wrong, but it looks like a bug to me. Also, great work on this component!

berrtech avatar Aug 19 '16 13:08 berrtech

@dantrain I'm having a similar issue. Where updating state causes the whole app to re-render so the enter and exit animations don't work. As soon as I remove stone-cutter the issue goes away ie updating state only re-renders the components that need it.

Maybe I'm doing something wrong too?

MikeTayler avatar Jan 24 '17 02:01 MikeTayler