From 771f546ce82e7b515d890d65457b78c69b0a3850 Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Sat, 6 May 2023 13:16:50 -0700 Subject: [PATCH] GridStackOptions.draggable.cancel option * you can now specify children that will prevent item from being dragged when clicked on. * fix for #2205 * updated demo to showcase custom non draggable item --- demo/serialization.html | 7 ++++--- doc/CHANGES.md | 1 + doc/README.md | 3 ++- src/dd-draggable.ts | 20 ++++++++++++-------- src/types.ts | 8 ++++---- 5 files changed, 23 insertions(+), 16 deletions(-) diff --git a/demo/serialization.html b/demo/serialization.html index 76db8c048..8ceb14d95 100644 --- a/demo/serialization.html +++ b/demo/serialization.html @@ -27,7 +27,8 @@

Serialization demo