-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bugfix/detach grid 2 #361
Bugfix/detach grid 2 #361
Conversation
…hNode=false to removeWidget would still cause it to be removed from the DOM.
Thanks! This is working as expected now. |
Well, found another issue! In our project, when we hide a cell, we call This used to work for our project fine with Gridstack 0.2.4. But now, any widgets below the one we deleted don't get moved up automatically (everything else, including container height, seems to still be set correctly). How should we handle this? Is there still a defect in Gridstack code, or do we need to call another function/event in order to get things working as expected? [Our code that handles "hiding" (i.e. removing) widgets is here.] |
I can workaround this by calling |
I can update |
No worries. Like I said, we already have this working with v0.2.4, albeit by monkey patching the |
Fix one bug and another pops up. This fixes issue where passing detachNode=false to removeWidget would still cause it to be removed from the DOM.