# editor: Dismiss mouse context menus on selections change \(\#28729\) · gitcafe/zed

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

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

Visibility: public

Requested revision: e7afbbd725053007a4d90a053916616bbb79b618

Requested commit: e7afbbd725053007a4d90a053916616bbb79b618

Commit: e7afbbd725053007a4d90a053916616bbb79b618

Tree: 2aa9325db4e15f70fe8a6e44a519fe510200b72f

Author: Ben Kunkle

Committer: GitHub

## Message

```
editor: Dismiss mouse context menus on selections change (#28729)

Closes #ISSUE

Adds an extra subscription for mouse context menus (i.e. right click context menu) so that when selections change in the editor while the context menu is open (e.g. with vim motions), the context menu closes.

Release Notes:

- N/A
```

## Parents

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

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