Drag and drop a widget on top of a locked widget
Subject of the issue
It is possible to drag one item and drop it such that it overlaps with a locked widget.
Your environment
GridStack 9.3.0 Windows 10 Chrome browser
Steps to reproduce
Please check out the jsfiddle. There are reproduction steps and grid items to reproduce https://jsfiddle.net/richsalcedo6/c142owne/
Expected behavior
I would expect that the drop would not be possible
good demo. you'll notice 3 & 4 cannot be placed on the locked one, but when moving 2 it does multiple collision and the logic fails there. complex case.
good demo.
Thanks!
it does multiple collision and the logic fails there.
I spent some time looking at the code last night seeing if I could find where the issue occurs. It was my first time in the code base so it's very unfamiliar to me. I will help as much as I can.
likely a hard one to fix unless you know the code and side effects... might be best to donate to have me fix it and unlikely I will do this corner case otherwise...