# agent_ui: Fix message editor stealing focus from other panels \(\#47321\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 67e0cec0b1f0d758d120b0191679ae6ce90593a4

Requested commit: 67e0cec0b1f0d758d120b0191679ae6ce90593a4

Commit: 67e0cec0b1f0d758d120b0191679ae6ce90593a4

Tree: c0378c9a26fc5a1b6682c3ce2532f0e3a563fccc

Author: Fabian Szabo

Committer: GitHub

## Message

```
agent_ui: Fix message editor stealing focus from other panels (#47321)

Closes https://github.com/zed-industries/zed/issues/41278,
https://github.com/zed-industries/zed/issues/45576,
https://github.com/zed-industries/zed/issues/46513

Release Notes:

- Fixed message editor stealing focus (so the "Open Recent Project"
modal stays open)

This issue has been driving me insane haha.


_Note: This is my first code contribution to this project. Please be
kind and let me know if I have missed something. I tested this fix on my
machine and it works. Tests are passing on my device. I have agreed to
the Zed Contributor License and Feedback Agreement with my Zed Account
that's linked to the same email as this GitHub account._
```

## Parents

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

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