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
This commit is contained in:
parent
699f58aeba
commit
d0fb6120d9
1 changed files with 0 additions and 1 deletions
|
@ -793,7 +793,6 @@ impl AcpThreadView {
|
|||
self.entry_view_state.update(cx, |view_state, cx| {
|
||||
view_state.sync_entry(*index, thread, window, cx)
|
||||
});
|
||||
self.list_state.splice(*index..index + 1, 1);
|
||||
}
|
||||
AcpThreadEvent::EntriesRemoved(range) => {
|
||||
self.entry_view_state
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue