Commit 8552fc4
committed
fix(DragDropSort): add TouchSensor for mobile drag-and-drop support
DragDropContainer only registered PointerSensor and KeyboardSensor,
so touch-based drag interactions were ignored on mobile browsers.
Add TouchSensor from @dnd-kit/core to enable mobile support.1 parent 6b93dbd commit 8552fc4
1 file changed
Lines changed: 2 additions & 0 deletions
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
| 108 | + | |
107 | 109 | | |
108 | 110 | | |
109 | 111 | | |
| |||
0 commit comments