Skip to content

drag&drop between nested grids, set Containment#1105

Merged
adumesny merged 2 commits intogridstack:developfrom
adumesny:develop
Dec 22, 2019
Merged

drag&drop between nested grids, set Containment#1105
adumesny merged 2 commits intogridstack:developfrom
adumesny:develop

Conversation

@adumesny
Copy link
Copy Markdown
Member

Description

fix for #720 #386 #695

  • new options.dragOut to let user drag nested grid items out of a parent or not (default false)
  • Jquery UI draggable.containment can now be specified in options as well
  • updated nested.html demo app to show ability to drag&drop between 2 nested grids
    and constrain or not to parent.

thank you @trevisanweb @aureality @ZoolWay for supplying the code & info!

Checklist

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

Alain Dumesny added 2 commits December 21, 2019 17:29
fix for #720 #386 #695
* new `options.dragOut` to let user drag nested grid items out of a parent or not (default false)
* Jquery UI `draggable.containment` can now be specified in options as well
* updated nested.html demo app to show ability to drag&drop between 2 nested grids
and constrain or not to parent.

thank you @trevisanweb @aureality @ZoolWay for supplying the code & info!
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.03%) to 67.02% when pulling 12552fb on adumesny:develop into 9ac95ce on gridstack:develop.

@adumesny adumesny merged commit 4e1804a into gridstack:develop Dec 22, 2019
adumesny pushed a commit that referenced this pull request Dec 24, 2019
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.

2 participants