# Do not refocus project search query on ESC press \(\#2494\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9e46b1714951c3aaf859379f69acb1cb9323b61c

Requested commit: 9e46b1714951c3aaf859379f69acb1cb9323b61c

Commit: 9e46b1714951c3aaf859379f69acb1cb9323b61c

Tree: 385c0c8df9654f3501b1708bbc8e1b60a1b616ae

Author: Kirill Bulatov

Committer: GitHub

## Message

```
Do not refocus project search query on ESC press (#2494)

Closes
https://linear.app/zed-industries/issue/Z-1471/escape-should-not-move-focus-to-project-search

Makes ESC more predictable as a shortcut that cancels/roll backs the
state in project search panel.

Release Notes:

* Fixes ESC making focus to jump in project search panel
```

## Parents

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

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

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