# gpui: Fix slow scrolling in lists \(\#33608\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 49bc2e61dae206c1848f10e87f09b9368eab726b

Requested commit: 49bc2e61dae206c1848f10e87f09b9368eab726b

Commit: 49bc2e61dae206c1848f10e87f09b9368eab726b

Tree: 311a3b09525b3fdf361715cfc24e1013440e5063

Author: maan2003

Committer: GitHub

## Message

```
gpui: Fix slow scrolling in lists (#33608)

matches editor element's behavior


https://github.com/user-attachments/assets/f70912e1-5adb-403b-a98c-63e2e89929ac


- in first version editor scrolls like 1.5 pages, but agent panel only
scrolls half a page.
- in second version, agent panel also scrolls like 1.5 pages.

Release Notes:

- Fixed skipping of some scroll events in the non-uniform list UI element, which fixes slow scrolling of the agent panel.
```

## Parents

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

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