Don't always scroll to bottom on every new message (#31295)
This is a partial reversion of https://github.com/zed-industries/zed/pull/30878 - having it always scroll to bottom whenever a new message is added makes it so that when you're scrolled up, you don't have time to read what you're trying to read before it autoscrolls to the end. @danilo-leal when you're back, we can pair on addressing that in a different way! Release Notes: - Fixed bug where scrolling up in the agent panel didn't prevent automatic scroll-to-end whenever a new message arrived.
This commit is contained in:
parent
697c838455
commit
208f525a11
1 changed files with 0 additions and 1 deletions
|
@ -1033,7 +1033,6 @@ impl ActiveThread {
|
||||||
self.push_message(message_id, &message_segments, window, cx);
|
self.push_message(message_id, &message_segments, window, cx);
|
||||||
}
|
}
|
||||||
|
|
||||||
self.scroll_to_bottom(cx);
|
|
||||||
self.save_thread(cx);
|
self.save_thread(cx);
|
||||||
cx.notify();
|
cx.notify();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue