From a0e160a5189cdbb09a6e310413a2e4e719be6323 Mon Sep 17 00:00:00 2001 From: owen-m1 Date: Wed, 6 Jan 2021 22:13:07 -0500 Subject: [PATCH] #1571: Dont use pointer events in Safari --- src/Sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Sortable.js b/src/Sortable.js index 89b3a20e4..a52d809cf 100644 --- a/src/Sortable.js +++ b/src/Sortable.js @@ -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 };