In kbn grid layout the drag preview follows the mouse position and appears above the grid. The actual element being dragged snaps to its final destination in the grid under the drag preview.
In react grid layout and many other products, the actual element follows the mouse position directly during a drag, and the drag preview appears behind the actual element to show the final destination of the drag operation.
I can see how the new behaviour can be also valid. We should test if it is problematic for users before making any changes. Let's keep it open for now but leave it till the end of the project.
In
kbn grid layout
the drag preview follows the mouse position and appears above the grid. The actual element being dragged snaps to its final destination in the grid under the drag preview.In
react grid layout
and many other products, the actual element follows the mouse position directly during a drag, and the drag preview appears behind the actual element to show the final destination of the drag operation.We should consider swapping this behaviour.
react grid layout
kbn grid layout
POC here