Skip to content

nested grid in/out drag from parent support#1908

Merged
adumesny merged 1 commit intogridstack:masterfrom
adumesny:master
Dec 29, 2021
Merged

nested grid in/out drag from parent support#1908
adumesny merged 1 commit intogridstack:masterfrom
adumesny:master

Conversation

@adumesny
Copy link
Copy Markdown
Member

Description

Thank you @arclogos132 for sponsoring it.

Checklist

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

* fix gridstack#992
* we now support dragging into and out of nested grids from parents
* nested.html was updated to showcase this, settings all grids to accept the same widgets. using CSS to differentiate nested items vs not for styling/demo purpose only.
* tested nested, float nad two.html - all seem to continue working (this was a lot of work to fine tune)

* also fix gridstack#1558 as we no longer cache the grid position (as we may move when items are placed elsewhere) but get it on every move to reflect latest data

Thank you [@arclogos132](https://github.com/arclogos132) for sponsoring it.
@adumesny adumesny merged commit 876f9e4 into gridstack:master Dec 29, 2021
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.

dragging from below 2nd grid and grow upper grid too much Dragging widget into parent grid and nested child grid

1 participant