# ui: Don't show tooltip when ButtonLike is selected \(\#13857\) · gitcafe/zed

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

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

Visibility: public

Requested revision: f2711b2fca99e6479ab855acfe54725132e42df7

Requested commit: f2711b2fca99e6479ab855acfe54725132e42df7

Commit: f2711b2fca99e6479ab855acfe54725132e42df7

Tree: 2a483d64957e43781a7f103bf8ed70d85e406cdd

Author: Thorsten Ball

Committer: GitHub

## Message

```
ui: Don't show tooltip when ButtonLike is selected (#13857)

This fixes the issue of a tooltip covering the thing that the button has
revealed.

It also mirrors what other UI frameworks do. Chrome on Linux behaves the
same, and Safari does the same thing on macOS.

It fixes this:

![Screenshot from 2024-07-05
12-39-22](https://github.com/zed-industries/zed/assets/1185253/51ce4347-d12f-463a-9adb-da031fe2f751)


Release Notes:

- N/A
```

## Parents

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

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