File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -364,8 +364,9 @@ <h4 class="col-12">MultiDrag</h4>
364
364
</ div >
365
365
< div style ="padding: 0 " class ="col-12 ">
366
366
< pre class ="prettyprint "> new Sortable(multiDragDemo, {
367
- multiDrag: true, // Enable multi-drag
368
- selectedClass: 'selected', // The class applied to the selected items
367
+ multiDrag: true,
368
+ selectedClass: 'selected',
369
+ fallbackTolerance: 3, // So that we can select items on mobile
369
370
animation: 150
370
371
});</ pre >
371
372
</ div >
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ for (var i = 0; i < nestedSortables.length; i++) {
211
211
new Sortable ( multiDragDemo , {
212
212
multiDrag : true ,
213
213
selectedClass : 'selected' ,
214
+ fallbackTolerance : 3 , // So that we can select items on mobile
214
215
animation : 150
215
216
} ) ;
216
217
You can’t perform that action at this time.
0 commit comments