# ui: Change scrollbar hitbox insertion \(\#40008\) · gitcafe/zed

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

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

Visibility: public

Requested revision: d4b5bb9f173d78d5795387269edc68f979024898

Requested commit: d4b5bb9f173d78d5795387269edc68f979024898

Commit: d4b5bb9f173d78d5795387269edc68f979024898

Tree: 08abfa8b40ab21f653c4889171716e5c939d980e

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Change scrollbar hitbox insertion (#40008)

Closes #39974

Since the thumb hitboxes themselves do not propagate events, we need to
paint the normal parent hitbox on top of the other ones. This also
caused hover detection to fail, which caused the issue linked.

Release Notes:

- Fixed an issue where hovering scrollbars in hovers would dismiss
these.
```

## Parents

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

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