From f2147146f7b1299dd818807fc3ba3a39c7c7d7cf Mon Sep 17 00:00:00 2001 From: Alain Dumesny Date: Mon, 11 Nov 2019 15:40:50 -0800 Subject: [PATCH 1/2] onStartMoving() fix to minHeight *method was not correctly counting margin when figuring out minHeight during a drag (see #999) * fixed cellHeight() getter to correctly returns the value and checked all places that use to adjust for margins --- demo/two.html | 4 ++-- src/gridstack.js | 35 +++++++++++++++++++++++++---------- 2 files changed, 27 insertions(+), 12 deletions(-) diff --git a/demo/two.html b/demo/two.html index c31252650..8bf06d2f9 100644 --- a/demo/two.html +++ b/demo/two.html @@ -18,8 +18,8 @@ - - + +