# Fix tooltips not showing on \`IconButton\`s \(\#3427\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ee027bc1127a04bdf5f878e99f5b0d9ece4f35bb

Requested commit: ee027bc1127a04bdf5f878e99f5b0d9ece4f35bb

Commit: ee027bc1127a04bdf5f878e99f5b0d9ece4f35bb

Tree: ba68cf6b6d8590e373d2ea67565900f5bcdf4b87

Author: Marshall Bowers

Committer: GitHub

## Message

```
Fix tooltips not showing on `IconButton`s (#3427)

This PR fixes tooltips not showing on `IconButton`s.

The "fix" here is the same hack that we used to fix `on_click` handlers
for `ListItem`s, where we introduce another layer of wrapping with an
element with an ID set.

This PR also adds a story for the `IconButton` so this issue can be
tested/observed in isolation.

Release Notes:

- N/A
```

## Parents

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

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