# sidebar: Hide collapse affordances in project header upon searching \(\#58696\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 4278e5296d89d744c1cc9629e2c20d38af396681

Requested commit: 4278e5296d89d744c1cc9629e2c20d38af396681

Commit: 4278e5296d89d744c1cc9629e2c20d38af396681

Tree: 4bcc42460320242d847b7c6d217a70f96b3ecd8b

Author: Danilo Leal

Committer: GitHub

## Message

```
sidebar: Hide collapse affordances in project header upon searching (#58696)

Closes AI-358

This PR hides the chevron and removes hover styles from the project
header when there is an active search, given groups can't be collapsed
while that's happening. We could allow it, but I think it's not super
worth it; this feels like like a pragmatic move.

Release Notes:

- Sidebar: Fixed a bug where affordances to collapse the project header
would appear when searching.
```

## Parents

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

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