You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix#1413#444
* we are now using the latest v1.0.8 touch-punch branch from
https://github.com/RWAP/jquery-ui-touch-punch
and compiling in JQ version (only 188k -> 190k) so mobiles work out of the box
* HTML5 v3+ does not currently support `touchmove` events. This will be added in a future release.
* added a mobile.html demo showing usage, updated doc/readme
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -260,8 +260,12 @@ Note: It's not recommended to enable `nw`, `n`, `ne` resizing handles. Their beh
260
260
261
261
## Touch devices support
262
262
263
-
Please use [jQuery UI Touch Punch](https://github.com/furf/jquery-ui-touch-punch) to make jQuery UI Draggable/Resizable
264
-
working on touch-based devices.
263
+
NOTE: gridstack v3.2+ jq version now compile this in, so it works out of the box, so need for anything.
264
+
265
+
NOTE2: HTML5 v3+ does not currently support `touchmove` events. This will be added in a future release.
266
+
267
+
Use latest RWAP branch of [jQuery UI Touch Punch](https://github.com/RWAP/jquery-ui-touch-punch) to make jQuery UI Draggable/Resizable
268
+
working on touch-based devices (which we now also include in v3.2 as `dist/jq/jquery.ui.touch-punch.js`).
265
269
266
270
```html
267
271
<scriptsrc="gridstack-jq.js"></script>
@@ -277,7 +281,7 @@ let options = {
277
281
GridStack.init(options);
278
282
```
279
283
280
-
If you're still experiencing issues on touch devices please check [#444](https://github.com/gridstack/gridstack.js/issues/444)
284
+
See [example](http://gridstack.github.io/gridstack.js/demo/mobile.html). If you're still experiencing issues on touch devices please check [#444](https://github.com/gridstack/gridstack.js/issues/444)
Copy file name to clipboardExpand all lines: doc/CHANGES.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,9 @@ Change log
48
48
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
49
49
## 3.1.5-dev
50
50
51
-
- TBD
51
+
- fix [1413](https://github.com/gridstack/gridstack.js/issues/1413) website & lib works on mobile. We now compile the latest v1.0.8 `jquery.ui.touch-punch`
52
+
into the JQ version (only 2k) so mobile devices (android, iphone, ipad, touchpad) are supported out of the box.
53
+
HTML5 version will require re-write to plain `mousemove` & mobile `touchmove` instead of drag events in a future release.
0 commit comments