elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.71k stars 8.12k forks source link

[Dashboard][Collapsable Panels] Move panel element directly #190647

Open ThomThomson opened 4 weeks ago

ThomThomson commented 4 weeks ago

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
react grid kbn grid

POC here

teresaalvarezsoler commented 3 weeks ago

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.