Skip to content

Commit e0c7f79

Browse files
Claudéric Demersclauderic
authored andcommitted
Default to pointer-events: none on Sortable helper
1 parent 03696ff commit e0c7f79

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SortableContainer/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export default function sortableContainer(WrappedComponent, config = {withRef: f
288288
this.helper.style.width = `${this.width}px`;
289289
this.helper.style.height = `${this.height}px`;
290290
this.helper.style.boxSizing = 'border-box';
291+
this.helper.style.pointerEvents = 'none';
291292

292293
if (hideSortableGhost) {
293294
this.sortableGhost = node;

0 commit comments

Comments
 (0)