Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using drag and drop to create nested Grids - part1 #2050

Merged
merged 1 commit into from Sep 24, 2022

Conversation

adumesny
Copy link
Member

Description

  • partial fix for using drag and drop to create nested Grids #1009
  • Create sub-grids on the fly, by dragging items completely over others (nest) vs partially (push) using new flag GridStackOptions.subGrid.createDynamic=true.
  • ability to pause drag&drop collision until the user stops moving - see DDDragOpt.pause

TODO: need to make it work on already nested grids, remove nested on drag out, fix tests, more testing...

Checklist

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

* partial fix for gridstack#1009
*  Create sub-grids on the fly, by dragging items completely over others (nest) vs partially (push) using new flag `GridStackOptions.subGrid.createDynamic=true`.
* ability to pause drag&drop collision until the user stops moving - see `DDDragOpt.pause`

TODO: need to make it work on already nested grids, remove nested on drag out, more testing...
@adumesny adumesny merged commit 4e5b095 into gridstack:master Sep 24, 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.

None yet

1 participant