# search: Fix recently introduced issues with the search bars \(\#36271\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 65f64aa5138a4cfcede025648cda973eeae21021

Requested commit: 65f64aa5138a4cfcede025648cda973eeae21021

Commit: 65f64aa5138a4cfcede025648cda973eeae21021

Tree: 6c19d184ef0c831adc5a479c90975825bd4b8da4

Author: Finn Evers

Committer: GitHub

## Message

```
search: Fix recently introduced issues with the search bars (#36271)

Follow-up to https://github.com/zed-industries/zed/pull/36233

The above PR simplified the handling but introduced some bugs: The
replace buttons were no longer clickable, some buttons also lost their
toggle states, some buttons shared their element id and, lastly, some
buttons were clickable but would not trigger the right action. This PR
fixes all that.

Release Notes:

- N/A
```

## Parents

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

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