diff --git a/rust/client/src/ui/mod.rs b/rust/client/src/ui/mod.rs index 7e11ecf..1b52386 100644 --- a/rust/client/src/ui/mod.rs +++ b/rust/client/src/ui/mod.rs @@ -2249,7 +2249,11 @@ impl AppModel { } => { commands.push(self.close_plugin_view(plugin_id.clone())); } - GlobalState::MainView { .. } => {} + GlobalState::MainView { + focused_search_result, .. + } => { + commands.push(focused_search_result.scroll_to(0)); + } GlobalState::ErrorView { .. } => {} GlobalState::PendingPluginView { .. } => {} }