Skip to content

Commit 2217239

Browse files
committed
#2244: Allow supportPointer to be enabled by default for IOS
1 parent 7d7d5d6 commit 2217239

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Sortable.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ function Sortable(el, options) {
394394
fallbackOnBody: false,
395395
fallbackTolerance: 0,
396396
fallbackOffset: {x: 0, y: 0},
397-
supportPointer: Sortable.supportPointer !== false && ('PointerEvent' in window) && !Safari,
397+
// Disabled on Safari: #1571; Enabled on Safari IOS: #2244
398+
supportPointer: Sortable.supportPointer !== false && ('PointerEvent' in window) && (!Safari || IOS),
398399
emptyInsertThreshold: 5
399400
};
400401

0 commit comments

Comments
 (0)