assistant2: Don't scroll down if user has scrolled up (#27614)

This caused undesirable and unnecessary scrolling, in that if you scroll
up, then as new messages stream into the panel, they jump the scroll bar
back down.

@agu-z and I paired on this and we think this is unnecessary now that we
don't see the Edit button in the UI, but @bennetbo we still see code for
the button in there, so...maybe we do still want this? (If so, we can
revert the second commit and go back to a more conditional way of
scrolling. 😄)

Release Notes:

- N/A

---------

Co-authored-by: Agus <agus@zed.dev>
60a7455f12Richard Feldman committed on 3/28/2025, 2:32:31 PM· committed by GitHubparent4315b2f
1 file changedLine totals unavailable