outline_panel: Fix outline panel should autoscroll when selection has changed (#14038)
Fixed selection changed, outline panel not autoscroll. Release Notes: - N/A
This commit is contained in:
@@ -1207,6 +1207,7 @@ impl OutlinePanel {
|
||||
|
||||
self.selected_entry = Some(entry_with_selection);
|
||||
self.update_cached_entries(None, cx);
|
||||
self.autoscroll(cx);
|
||||
}
|
||||
|
||||
fn render_excerpt(
|
||||
|
||||
Reference in New Issue
Block a user