Skip to content

fix removeWidget() after it's gone from DOM#2083

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Oct 14, 2022
Merged

fix removeWidget() after it's gone from DOM#2083
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

@adumesny adumesny commented Oct 14, 2022

Copy link
Copy Markdown
Member

Description

  • make sure removeWidget() handles when item has been first removed from DOM (like Angular/React/Vue would do). This bug had been there for 3 years, but shown it's ugly head in v6.

fix #2081

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary

* make sure removeWidget() handles when item has been first removed from DOM (like Angular/React/Vue would do).
This bug had been there for 3 years, but shown it's ugly head in  v6.
@adumesny adumesny merged commit b9c8cec into gridstack:master Oct 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resize handles disappear after removing grid element from the DOM

1 participant