Skip to content

drop target goes by the grabbed handle - #3463

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

adumesny merged 1 commit into
gridstack:masterfrom
adumesny:master

Conversation

@adumesny

Copy link
Copy Markdown
Member

Description

  • improved drag&drop when grabbing widget by their title (not entire widget) to follow the mouse better - use the drag target instead of entire widget (with min size)
  • also made it possible to insert before/inside/after collapsed (hidden) subgrids when say a section widgets with collapse UI are used (my application).

Checklist

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

* improved drag&drop when grabbing widget by their title (not entire widget) to follow the mouse better - use the drag target instead of entire widget (with min size)
* also made it possible to insert before/inside/after collapsed (hidden) subgrids when say a section widgets with collapse UI are used (my application).
@adumesny
adumesny merged commit ea35082 into gridstack:master Nov 16, 2026
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