Skip to content

Commit 064a429

Browse files
committed
Fix bug when scroll enabled after releasing row
1 parent 5bb316b commit 064a429

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SortableList.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ export default class SortableList extends Component {
517517
activeRowKey: null,
518518
activeRowIndex: null,
519519
releasedRowKey: activeRowKey,
520-
scrollEnabled: true,
520+
scrollEnabled: this.props.scrollEnabled,
521521
}));
522522

523523
if (this.props.onReleaseRow) {

0 commit comments

Comments
 (0)