gridstack.js icon indicating copy to clipboard operation
gridstack.js copied to clipboard

Unable to resize the nested container/grid in 2.0.0

Open marshmeloo opened this issue 6 years ago • 5 comments

Subject of the issue

Unable to resize the nested container/grid in 2.0.0

Your environment

  • version v2.0.0 of gridstack.js
  • Chrome (Version 85.0.4183.102), Firefox (76.0.1 (64-bit)

Steps to reproduce

open nested grids demo https://gridstackjs.com/demo/nested.html try to resize the nested 1 or nested 2 green container/grid https://drive.google.com/file/d/1mR809jQL8zjwjYpgx0dCz-O7JXCuv6eQ/view

Expected behaviour

It should resize

Actual behaviour

resize handler hang with below error in the console Uncaught TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'. at HTMLDivElement.s (gridstack.ts:1269) at e..._trigger (jquery-ui.js:699) at e..._propagate (jquery-ui.js:3604) at e..._propagate (jquery-ui.js:146) at e..._mouseStart (jquery-ui.js:3237) at e..._mouseStart (jquery-ui.js:146) at e..._mouseMove (jquery-ui.js:1012) at e..._mouseMove (jquery-ui.js:146) at HTMLDocument.s._mouseCapture._mouseDistanceMet._mouseDelayMet._mouseMoveDelegate (jquery-ui.js:957) at HTMLDocument.dispatch (jquery.js:5429)

marshmeloo avatar Sep 16 '20 09:09 marshmeloo

yep, looks like I broke this in 2.0.0 - thanks.

adumesny avatar Sep 16 '20 19:09 adumesny

hi, @adumesny have found the solution?

We are willing to offer the donation to get help asap.

marshmeloo avatar Sep 21 '20 18:09 marshmeloo

I have not had time to look at it... but if you want to give a donation then I can take a look this weekend or possibly at night. thanks

adumesny avatar Sep 21 '20 18:09 adumesny

Hi, @adumesny we have made the donation with a note "https://github.com/gridstack/gridstack.js/issues/1361", please have a look into the issue. Thanks

marshmeloo avatar Sep 23 '20 05:09 marshmeloo

will be in upcoming 2.0.1

adumesny avatar Sep 26 '20 19:09 adumesny