# Do not call \`scroll_to\(\)\` twice when circularly navigating popover menus \(\#3180\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 37a561df0ad46b65ecaf49aae9d12ded5e3ed7a9

Requested commit: 37a561df0ad46b65ecaf49aae9d12ded5e3ed7a9

Commit: 37a561df0ad46b65ecaf49aae9d12ded5e3ed7a9

Tree: ee41c6f44de4d9cd308cc43d4de694b385ae22a1

Author: Joseph T\. Lyons

Committer: GitHub

## Message

```
Do not call `scroll_to()` twice when circularly navigating popover menus (#3180)

The tweaks made to add circular navigation to autocompletion / code
action menus accidentally was calling `scroll_to` twice in some cases -
just fixing that.

Release Notes:

- N/A
```

## Parents

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

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

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