# editor: Don't render editor behind sticky scroll header \(\#54465\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8f0efe9f34d524345e293297ee4389a2378a453c

Requested commit: 8f0efe9f34d524345e293297ee4389a2378a453c

Commit: 8f0efe9f34d524345e293297ee4389a2378a453c

Tree: 8729ac9a8ad22831f1ca30a6e16d38a9d7edd620

Author: Cameron Mcloughlin

Committer: GitHub

## Message

```
editor: Don't render editor behind sticky scroll header (#54465)

Previously, sticky scroll headers were painted on top of the main
editor. This works, but only if the editor background is a solid color

Bad:
<img width="603" height="319" alt="image"
src="https://github.com/user-attachments/assets/bf438003-a416-46a6-85bc-dfa767be067e"
/>


Good:
<img width="603" height="319" alt="image"
src="https://github.com/user-attachments/assets/e644e54a-6667-41e1-86d0-16e659bea844"
/>

Release Notes:

- Fixed: Editor no longer renders behind sticky scroll headers while
using a transparent theme
```

## Parents

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

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