- Initial version
- Prevent
setState
on unmountedFade
component. (thanks to @Themandunord)
- Added
delay
andtransitionDuration
props.
- Pass
className
prop through to container element. (thanks to @Deveosys)
- Add
childClassName
prop to allow styling for child divs. (thanks to @Deveosys)
- Use
transform: translateY(...)
instead ofposition: relative
andtop
to animate elements. This is a breaking change if you rely onposition: relative
on the child divs. Thanks to @bogdansoare for the suggestion.
- Add
wrapperTag
andchildTag
props. Thanks to @domarp-j.
- Transition to
transform: none
instead oftransform: translateY(0)
. Thanks to @atnpcg.
- Add
visible
,onComplete
props. Rewrite component using typescript and react hooks. New children added after the initial render are now also animated.