Sankey diagram freeform arrangment x axis borders

Hey there,

I was working on the sankey’s ‘freeform’ style arrangement option and i noticed that it sets some limits on the y axis, stopping the nodes dragging process going outside the chart’s borders.
But the same thing doesn’t happen on the x axis.
The result is that the user can drag nodes outside the x axis borders, not being able to drag them back inside then.

Is it something intentionally done?
And if yes, do you have any suggestion in order to prevent this behaviour?

I’m linking here below a basic example with a menu that allows you to select also the ‘snap’ style arrangment that drags nodes back inside the borders (if dragged outside of them).

Thanks in advance,
Andrea.

I have the same issues. Submitted the issue for reference https://github.com/plotly/plotly.js/issues/4845