diff --git a/Gruntfile.js b/Gruntfile.js index 052de2053..44eb73cfb 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -56,6 +56,7 @@ module.exports = function(grunt) { files: { 'dist/jq/jquery.js': 'src/jq/jquery.js', 'dist/jq/jquery-ui.js': 'src/jq/jquery-ui.js', + 'dist/jq/jquery.ui.touch-punch.js': 'src/jq/jquery.ui.touch-punch.js', } } }, diff --git a/README.md b/README.md index e6835d2e9..779685512 100644 --- a/README.md +++ b/README.md @@ -260,8 +260,12 @@ Note: It's not recommended to enable `nw`, `n`, `ne` resizing handles. Their beh ## Touch devices support -Please use [jQuery UI Touch Punch](https://github.com/furf/jquery-ui-touch-punch) to make jQuery UI Draggable/Resizable -working on touch-based devices. +NOTE: gridstack v3.2+ jq version now compile this in, so it works out of the box, so need for anything. + +NOTE2: HTML5 v3+ does not currently support `touchmove` events. This will be added in a future release. + +Use latest RWAP branch of [jQuery UI Touch Punch](https://github.com/RWAP/jquery-ui-touch-punch) to make jQuery UI Draggable/Resizable +working on touch-based devices (which we now also include in v3.2 as `dist/jq/jquery.ui.touch-punch.js`). ```html @@ -277,7 +281,7 @@ let options = { GridStack.init(options); ``` -If you're still experiencing issues on touch devices please check [#444](https://github.com/gridstack/gridstack.js/issues/444) +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) # gridstack.js for specific frameworks diff --git a/demo/advance.html b/demo/advance.html index 889ae2183..b499d4074 100644 --- a/demo/advance.html +++ b/demo/advance.html @@ -57,12 +57,6 @@
uses v3.2+ jquery version which now includes jquery.ui.touch-punch by default (small 2k)
+ + + +