# assistant2: Fix keyboard navigation issues when a picker is open \(\#25928\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 669082dbe065ae762e2be0effea7a23a1c53ad21

Requested commit: 669082dbe065ae762e2be0effea7a23a1c53ad21

Commit: 669082dbe065ae762e2be0effea7a23a1c53ad21

Tree: 077cc9cceb61fcccb378e721c98912c17b907401

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
assistant2: Fix keyboard navigation issues when a picker is open (#25928)

This fixes:
- Bug: Using "up" in model selector triggers assistant2::FocusUp not
menu::SelectPrev
- Bug: Pressing arrow up/down in the model selector opened in the inline
assistant doesn't work
- Bug: Dismissing the model selector with Esc is not working
- Bug: Dismissing context pickers with Esc no longer working

Release Notes:

- N/A
```

## Parents

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

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