react-stonecutter
react-stonecutter copied to clipboard
Animate single grid item
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!
@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?