# ui: Use \`focus_visible\` method for some components \(\#41077\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4fb91135d1d043c4707950df4109c6e0a1599f8c

Requested commit: 4fb91135d1d043c4707950df4109c6e0a1599f8c

Commit: 4fb91135d1d043c4707950df4109c6e0a1599f8c

Tree: c1d501b4dc749395dc0eb28457ea1b7e1b8914de

Author: Danilo Leal

Committer: GitHub

## Message

```
ui: Use `focus_visible` method for some components (#41077)

Using the cool, [recently
added](https://github.com/zed-industries/zed/pull/40940) `focus-visible`
support in some components. This will be particularly nice in the
settings UI, as it will not display the focus styles if you're
navigating it with a pointer device as opposed to the keyboard.

Release Notes:

- N/A
```

## Parents

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

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