Skip to content

Unable to resize the nested container/grid in 2.0.0 #1361

Closed

Description

@marshmeloo

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)

Activity

  1. adumesny commented on Sep 16, 2020

    @adumesny
    Member

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

  2. marshmeloo commented on Sep 21, 2020

    @marshmeloo
    Author

    hi, @adumesny have found the solution?

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

  3. adumesny commented on Sep 21, 2020

    @adumesny
    Member

    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

  4. marshmeloo commented on Sep 23, 2020

    @marshmeloo
    Author

    Hi, @adumesny we have made the donation with a note "#1361", please have a look into the issue.
    Thanks

  5. added a commit that references this issue on Sep 26, 2020
  6. adumesny commented on Sep 26, 2020

    @adumesny
    Member

    will be in upcoming 2.0.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions