Skip to content

Commit 6ca8674

Browse files
author
Claudéric Demers
authored
Merge pull request clauderic#160 from clauderic/feature/helper_pointer_events
Default to `pointer-events: none` on Sortable helper
2 parents 03696ff + e0c7f79 commit 6ca8674

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)