You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would be nice to have a facility to animate (read flash) in newly added rows to tables, and also before you remove them, grey them out, so users know what's been changed.
I think you would have to compare data changing in componentShouldUpdate or similar and mark those things that have been removed or added, and somehow add classes to them.
For adding, some CSS like this would suffice:
.flash {
-webkit-animation-name: flash-animation;
-webkit-animation-duration: 3s;
animation-name: flash-animation;
animation-duration: 3s;
}
@-webkit-keyframes flash-animation {
from { background: yellow; }
to { background: default; }
}
@keyframes flash-animation {
from { background: yellow; }
to { background: default; }
}
The text was updated successfully, but these errors were encountered:
Would be nice to have a facility to animate (read flash) in newly added rows to tables, and also before you remove them, grey them out, so users know what's been changed.
I think you would have to compare data changing in componentShouldUpdate or similar and mark those things that have been removed or added, and somehow add classes to them.
For adding, some CSS like this would suffice:
The text was updated successfully, but these errors were encountered: