# Fix cursor and hover styles changing when dragging the mouse \(\#2884\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 26c3312049a9c73bc3350528c1defd3820a7a8c7

Requested commit: 26c3312049a9c73bc3350528c1defd3820a7a8c7

Commit: 26c3312049a9c73bc3350528c1defd3820a7a8c7

Tree: ef1d0f0afc3a52aa243440eb78e2e0f590d5a35d

Author: Mikayla Maki

Committer: GitHub

## Message

```
Fix cursor and hover styles changing when dragging the mouse (#2884)

Since the resizing rework on docks, I noticed a lot of cursor flickering
when dragging, that drags trigger hover states in underlying elements
instead of being ignored, and that clicking and dragging off a button
can leave that button's click style active. This PR fixes all three
bugs.

Release Notes:

- Fixed several styling bugs related to dragging the mouse cursor
```

## Parents

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

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

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