-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
@adumesny
Description
Subject of the issue
dragging small item over large one isn't ideal.
part of #1094
Your environment
- h5 v4.0.1 chrome
Steps to reproduce
gridstack.js/spec/e2e/html/141_1534_swap.html#
issue
right now we check for 50% mid point before swapping on the drop over area, but if you drag a small item over a much larger one, it would be nice to do the swap if EITHER is 50% covered (or maybe entire small), which would also require not only a collide node BUT also a top/bottom/left/right are to let us know where to put dragged item (for after cases)