We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd9ec36 commit 5bb316bCopy full SHA for 5bb316b
src/SortableList.js
@@ -538,7 +538,9 @@ export default class SortableList extends Component {
538
this._movingDirectionChanged = prevMovingDirection !== this._movingDirection;
539
this._setOrderOnMove();
540
541
- this._scrollOnMove(e);
+ if (this.props.scrollEnabled) {
542
+ this._scrollOnMove(e);
543
+ }
544
};
545
546
_onScroll = ({nativeEvent: {contentOffset}}) => {
0 commit comments