Skip to content

OnChange trigger fix when scrollbar show up - #3295

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Jun 21, 2026
Merged

OnChange trigger fix when scrollbar show up#3295
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

Copy link
Copy Markdown
Member

Description

Checklist

  • Created tests which fail without the change (if possible)
  • All tests passing (yarn test)
  • Extended the README / documentation, if necessary
* fix gridstack#2823
* skip saveInitial() when a drag/resize is already in progress (i.e., any node has _updating=true).
Scrollbar appears (grid grows taller) → clientWidth decreases → ResizeObserver fires onResize()
@adumesny
adumesny merged commit 44d7874 into gridstack:master Jun 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant