# project_panel: Only show sticky item shadow when list is scrolled \(\#34050\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 1f3575ad6eb87f6253943bbe73c67c228534ffae

Requested commit: 1f3575ad6eb87f6253943bbe73c67c228534ffae

Commit: 1f3575ad6eb87f6253943bbe73c67c228534ffae

Tree: 6e2a5e13b61e69d6750fbc23a3e9134e732641eb

Author: Smit Barmase

Committer: GitHub

## Message

```
project_panel: Only show sticky item shadow when list is scrolled (#34050)

Follow up: https://github.com/zed-industries/zed/pull/34042

- Removes `top_slot_items` from `uniform_list` in favor of using
existing `decorations`
- Add condition to only show shadow for sticky item when list is
scrolled and scrollable

Release Notes:

- N/A
```

## Parents

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

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