Skip to content

Commit e5b2396

Browse files
committed
Mark IOS as not supporting native drag & drop
1 parent 854fed7 commit e5b2396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ let dragEl,
143143
CSSFloatProperty = Edge || IE11OrLess ? 'cssFloat' : 'float',
144144

145145
// This will not pass for IE9, because IE9 DnD only works on anchors
146-
supportDraggable = !ChromeForAndroid && ('draggable' in document.createElement('div')),
146+
supportDraggable = !ChromeForAndroid && !IOS && ('draggable' in document.createElement('div')),
147147

148148
supportCssPointerEvents = (function() {
149149
// false when <= IE11

0 commit comments

Comments
 (0)