diff --git a/crates/gpui_elements/src/editable_text/element.rs b/crates/gpui_elements/src/editable_text/element.rs index d9cd6d247c..9c0c4328d6 100644 --- a/crates/gpui_elements/src/editable_text/element.rs +++ b/crates/gpui_elements/src/editable_text/element.rs @@ -515,6 +515,7 @@ impl EditableTextElement { return; } + cx.stop_propagation(); window.focus(&focus_handle, cx); let text_position = event.position + to_local_position; @@ -533,6 +534,7 @@ impl EditableTextElement { return; } + cx.stop_propagation(); state.update(cx, |state, cx| { state.on_mouse_up(event, window, cx); });