Skip to content

Commit

Permalink
#1571: Dont use pointer events in Safari
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Jan 7, 2021
1 parent 7408673 commit a0e160a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ function Sortable(el, options) {
fallbackOnBody: false,
fallbackTolerance: 0,
fallbackOffset: {x: 0, y: 0},
supportPointer: Sortable.supportPointer !== false && ('PointerEvent' in window),
supportPointer: Sortable.supportPointer !== false && ('PointerEvent' in window) && !Safari,
emptyInsertThreshold: 5
};

Expand Down

0 comments on commit a0e160a

Please sign in to comment.