diff --git a/crates/ui/src/input/state.rs b/crates/ui/src/input/state.rs index 35c358dd..239b28a7 100644 --- a/crates/ui/src/input/state.rs +++ b/crates/ui/src/input/state.rs @@ -1232,6 +1232,9 @@ impl InputState { _window: &mut Window, _cx: &mut Context, ) { + if self.selected_range.is_empty() { + self.selection_reversed = false; + } self.selecting = false; self.selected_word_range = None; }