joshwcomeau / react-flip-move

Effortless animation between DOM changes (eg. list reordering) using the FLIP technique.
http://joshwcomeau.github.io/react-flip-move/examples
MIT License
4.09k stars 258 forks source link

Style removal on using accordionVertical animation #196

Open MRezaSafari opened 7 years ago

MRezaSafari commented 7 years ago

The style attribute should be removed after the animation end when using the accordionVertical animation. although the style remain with the property transform-origin with the value of "center top 0px"

It's not gonna make any problem but I think it must be more clear if you remove the style attribute at all.

Thank you.

joshwcomeau commented 6 years ago

Yeah, good catch. We ought to clean up after ourselves better!