On a key press, the user toggle a UI where drag-and-drop is possible.
When he close back the UI, I want the dragging operation to stop, if one was ongoing.
I tried using Viewport.force_drag, or calling Control._drop_data myself but even if it worked (which it doesn’t) it seems like a very bad solution.
Recently the function Viewport.gui_cancel_drag() was introduced. It is available since Godot 4.4-dev2. I don’t see an easy and reliable way to cancel drag in Godot 4.3.