# gpui: Fix uniform list scroll to offset for Top and Bottom strategies \(\#39938\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4dae3a15cc4f9bdd5189c23e71385d8a0ff07665

Requested commit: 4dae3a15cc4f9bdd5189c23e71385d8a0ff07665

Commit: 4dae3a15cc4f9bdd5189c23e71385d8a0ff07665

Tree: a3b92c735de4c7b23317d175e8a59155bfe96d5c

Author: Smit Barmase

Committer: GitHub

## Message

```
gpui: Fix uniform list scroll to offset for Top and Bottom strategies (#39938)

Closes #39863

Regressed in https://github.com/zed-industries/zed/pull/36653

Release Notes:

- Fixed an issue where clicking a sticky item in the project panel
wouldn’t correctly scroll the view to show its start.
```

## Parents

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

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