# checkbox: Fix showing cursor pointer for edge of the checkbox when it's disabled \(\#43577\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 20b584398e6151f0950f18a2579b4ee0b4012c96

Requested commit: 20b584398e6151f0950f18a2579b4ee0b4012c96

Commit: 20b584398e6151f0950f18a2579b4ee0b4012c96

Tree: d370d4c51d7847f1c6f735fb38538164ab0d8b0b

Author: Remco Smits

Committer: GitHub

## Message

```
checkbox: Fix showing cursor pointer for edge of the checkbox when it's disabled (#43577)

This PR fixes that you saw the cursor pointer for disabled checkbox.
This is only for the edge of the checkbox component, because we didn't
check for the disabled case.

**Before**


https://github.com/user-attachments/assets/cfebad01-533b-4515-b8d9-4bcb839eaec4

**After**


https://github.com/user-attachments/assets/969600de-081b-42df-a288-ca3db5758d12

Release Notes:

- N/A
```

## Parents

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

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