# Ensure hunk controls have unique element ids \(\#23815\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 442ea508c45bb4a26bd5954cbdfff07568c861f6

Requested commit: 442ea508c45bb4a26bd5954cbdfff07568c861f6

Commit: 442ea508c45bb4a26bd5954cbdfff07568c861f6

Tree: 322cc58feae86eaa0fea3d1e21b6a16ccecfa53a

Author: Max Brunsfeld

Committer: GitHub

## Message

```
Ensure hunk controls have unique element ids (#23815)

This fixes an edge case when two hunk controls button groups were
visible (due to having text cursor on one hunk, and mouse cursor on the
other). In that situation, the mouse states for the two button groups
would mirror.

Release Notes:

- N/A
```

## Parents

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

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