# sidebar: Fix space not working in the search editor \(\#52444\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 0a4dfe327a999b31350e8f35c6687bc6b3032b3f

Requested commit: 0a4dfe327a999b31350e8f35c6687bc6b3032b3f

Commit: 0a4dfe327a999b31350e8f35c6687bc6b3032b3f

Tree: 8429d1949173d26c9bed349804bcf20226717c00

Author: Danilo Leal

Committer: GitHub

## Message

```
sidebar: Fix space not working in the search editor (#52444)

We were using space as an alternative to `enter` for selecting thread
items even while the search editor was focused. The solution here was to
create a dynamic key context based on the search editor focus state.

Release Notes:

- N/A
```

## Parents

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

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