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

Issue when drag and drop from nested grid #1282

Closed
LudovicF42 opened this issue May 18, 2020 · 3 comments
Closed

Issue when drag and drop from nested grid #1282

LudovicF42 opened this issue May 18, 2020 · 3 comments

Comments

@LudovicF42
Copy link

LudovicF42 commented May 18, 2020

Subject of the issue

Issue when drag from nested grid

Your environment

v1.1.2

Steps to reproduce

https://jsfiddle.net/sx7dga5n/1/

Demo video : https://drive.google.com/open?id=1bOrOqgn41qi3j-F5rDZMrbailXPYAjlf
Try to drag between child and parent
There are an overlap
Bad drop zone
Edit: And I have this error : Cannot set property 'isOutOfGrid' of undefined

Expected behaviour

Drag and drop between child and parent grid

@LudovicF42
Copy link
Author

LudovicF42 commented May 18, 2020

I think it is necessary to use the greedy option of jquery ui droppable to resolve that : https://api.jqueryui.com/droppable/#option-greedy

But it impact the collision algorithm too.

@adumesny
Copy link
Member

hey thank you - dragging between child and parent is not well supported - for one thing it may move a nested item out of the way so you can't drop into - and would need a modifier key to drop in vs move out of the way ?

wonder if at all related to #393 two drop shadows.

@adumesny
Copy link
Member

adumesny commented Dec 5, 2020

dup of #992 and also related to #1009 and #1210 when dragging between 2 V grids. closing

@adumesny adumesny closed this as completed Dec 5, 2020
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

No branches or pull requests

2 participants