File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-transitioning" ,
3- "version" : " 1.0.8 " ,
3+ "version" : " 1.0.9 " ,
44 "description" : " React components for easily implementing basic CSS animations and transitions" ,
55 "main" : " dist/index.cjs.js" ,
66 "module" : " dist/index.esm.js" ,
Original file line number Diff line number Diff line change @@ -77,10 +77,10 @@ export function TransitionGroup(props: TransitionGroupProps) {
7777 removeTimeout ?: VisibleElement [ 'removeTimeout' ] ,
7878 ) => {
7979 const elementClone = cloneElement ( element , {
80- enter : true ,
8180 in : ! removeTimeout ,
8281 alwaysMounted : false ,
8382 exit : element . props . exit ?? exit ,
83+ enter : element . props . enter ?? enter ,
8484 duration : element . props . duration ?? duration ,
8585 appear : mountedRef . current ? ( element . props . enter ?? enter ) : ( element . props . appear ?? appear ) ,
8686 } ) ;
You can’t perform that action at this time.
0 commit comments