Commit 912662b
committed
toggle ui-draggable-handle class with draggable
On touch devices, it's not possible to scroll a page by dragging on an item even when draggable is
disabled due to the **ui-draggable-handle** class which is added to the **grid-stack-item-content**
JQuery-UI Draggable doesn't remove this class when it's disabled, so it prevents touch scrolling the page on the item
```
<div class="grid-stack-item-content ui-draggable-handle">
.ui-draggable-handle {
-ms-touch-action: none;
touch-action: none;
}
```1 parent fc571d8 commit 912662b
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
801 | 801 | | |
802 | 802 | | |
803 | 803 | | |
| 804 | + | |
804 | 805 | | |
805 | 806 | | |
806 | 807 | | |
| 808 | + | |
807 | 809 | | |
808 | 810 | | |
809 | 811 | | |
| |||
0 commit comments