File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -567,7 +567,7 @@ function VariableWidthHeight() {
567
567
handleSortOver ( newIndex ) ;
568
568
} }
569
569
onSortEnd = { handleSortEnd }
570
- enableTransitions = { false }
570
+ disableDefaultAnimations
571
571
dragIndex = { dragIndex }
572
572
activeIndex = { activeIndex }
573
573
/>
Original file line number Diff line number Diff line change @@ -811,7 +811,7 @@ export default function sortableContainer(
811
811
}
812
812
}
813
813
814
- if ( this . props . enableTransitions ) {
814
+ if ( ! this . props . disableDefaultAnimations ) {
815
815
setTranslate3d ( node , translate ) ;
816
816
nodes [ i ] . translate = translate ;
817
817
}
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export const propTypes = {
10
10
contentWindow : PropTypes . any ,
11
11
disableAutoscroll : PropTypes . bool ,
12
12
distance : PropTypes . number ,
13
- enableTransitions : PropTypes . bool ,
13
+ disableDefaultAnimations : PropTypes . bool ,
14
14
getContainer : PropTypes . func ,
15
15
getHelperDimensions : PropTypes . func ,
16
16
helperClass : PropTypes . string ,
@@ -63,7 +63,7 @@ export const defaultProps = {
63
63
axis : 'y' ,
64
64
disableAutoscroll : false ,
65
65
distance : 0 ,
66
- enableTransitions : true ,
66
+ disableDefaultAnimations : false ,
67
67
getHelperDimensions : defaultGetHelperDimensions ,
68
68
hideSortableGhost : true ,
69
69
lockOffset : '50%' ,
You can’t perform that action at this time.
0 commit comments