Skip to content

dragging between grids behavior change - #3451

Merged
adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master
Nov 4, 2026
Merged

adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

@adumesny adumesny commented Nov 4, 2026

Copy link
Copy Markdown
Member

Description

  • dragging between grids now goes by how much of the item is over a grid (like jquery-ui's intersect before v6) rather than where the cursor is. Also make it possible to insert above a nested grid even when parent grid overlapps exactly.
  • demo/nested.html you can now drag item 6 above it's sub-grid

Checklist

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

* dragging between grids now goes by how much of the item is over a grid (like jquery-ui's `intersect` before v6) rather than where the cursor is. Also make it possible to insert above a nested grid even when parent grid overlapps exactly.
* demo/nested.html you can now drag item 6 above it's sub-grid
@adumesny
adumesny merged commit 6695026 into gridstack:master Nov 4, 2026
adumesny added a commit to adumesny/gridstack.js that referenced this pull request Nov 4, 2026
* removed all code associated with enter/leave as we're using shape based now
(see gridstack#3451)
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.

1 participant