File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 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>
364364 </ div >
365365 < div style ="padding: 0 " class ="col-12 ">
366366< 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
369370 animation: 150
370371});</ pre >
371372 </ div >
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ for (var i = 0; i < nestedSortables.length; i++) {
211211new Sortable ( multiDragDemo , {
212212 multiDrag : true ,
213213 selectedClass : 'selected' ,
214+ fallbackTolerance : 3 , // So that we can select items on mobile
214215 animation : 150
215216} ) ;
216217
You can’t perform that action at this time.
0 commit comments