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.
2 parents 6c72ec2 + e83cfe6 commit 0049d0dCopy full SHA for 0049d0d
src/SortableContainer/index.js
@@ -392,7 +392,7 @@ export default function sortableContainer(
392
.forEach((className) => this.helper.classList.add(className));
393
}
394
395
- this.listenerNode = event.touches ? node : this.contentWindow;
+ this.listenerNode = event.touches ? event.target : this.contentWindow;
396
397
if (isKeySorting) {
398
this.listenerNode.addEventListener('wheel', this.handleKeyEnd, true);
0 commit comments