diff --git a/widget/src/pane_grid.rs b/widget/src/pane_grid.rs index 90a3fb1d2f..5c3b343c80 100644 --- a/widget/src/pane_grid.rs +++ b/widget/src/pane_grid.rs @@ -628,6 +628,10 @@ where }; shell.publish(on_drag(event)); + } else { + shell.publish(on_drag(DragEvent::Canceled { + pane, + })); } } }