Enable auto-scroll when moving cursors in Editor::handle_input

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
Max Brunsfeld 2022-10-14 11:32:22 -07:00
parent 55576f879b
commit 137a9cefbd

View file

@ -2024,7 +2024,7 @@ impl Editor {
}
drop(snapshot);
this.change_selections(None, cx, |s| s.select(new_selections));
this.change_selections(Some(Autoscroll::Fit), cx, |s| s.select(new_selections));
this.trigger_completion_on_input(&text, cx);
});
}