diff --git a/crates/outline_panel/src/outline_panel.rs b/crates/outline_panel/src/outline_panel.rs index 7de8872c64..a7708ec08f 100644 --- a/crates/outline_panel/src/outline_panel.rs +++ b/crates/outline_panel/src/outline_panel.rs @@ -4261,7 +4261,7 @@ impl Render for OutlinePanel { } }), ) - .track_focus(&self.focus_handle(cx)) + .track_focus(&self.focus_handle) .when_some(search_query, |outline_panel, search_state| { outline_panel.child( v_flex()