# ui: Fix context menu selecting first entry on open \(\#64365\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 9183ba4c5579c083b005d7f4c248d90c914fb46f

Requested commit: 9183ba4c5579c083b005d7f4c248d90c914fb46f

Commit: 9183ba4c5579c083b005d7f4c248d90c914fb46f

Tree: 9bf6785fcdad1096bd255b165d40aa9db8e6ae16

Author: Finn Evers

Committer: GitHub

## Message

```
ui: Fix context menu selecting first entry on open (#64365)

This fixes this stupid bug and flicker that we would always select the
first entry when opening context menus for A11y reasons even when A11y
is disabled for the entire window. I call it a bug because it adds
nothing, flickers, and has annoyed me since this was introduced.

Release Notes:

- Fixed an issue where upon opening a context menu, the first entry
would be selected with a delay.
- [GPUI] Added method to query whether A11y support is forcefully
disabled for the current app.
```

## Parents

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

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