# Fix scrollbar flicker when streaming agent2 response \(\#36606\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/d0fb6120d9583fd46b17aed9d2b9a5b08e302f7e)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: d0fb6120d9583fd46b17aed9d2b9a5b08e302f7e

Requested commit: d0fb6120d9583fd46b17aed9d2b9a5b08e302f7e

Commit: d0fb6120d9583fd46b17aed9d2b9a5b08e302f7e

Tree: 0aee765c34f63abf5da27ba7f884b0d9db786f8c

Author: Antonio Scandurra

Committer: GitHub

## Message

```
Fix scrollbar flicker when streaming agent2 response (#36606)

This was caused by calling `list_state.splice` on updated entries. We
don't need to splice the entry, as we'll recompute its measurements
automatically when we render it.

Release Notes:

- N/A
```

## Parents

- [699f58aeba56b10e99f789f9fb492c76fbeea81b](https://git.cafe/gitcafe/zed/commit/699f58aeba56b10e99f789f9fb492c76fbeea81b?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/d0fb6120d9583fd46b17aed9d2b9a5b08e302f7e?format=markdown)
