# editor: Render diagnostic popover even if the source is out of view \(\#41449\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bde7e55adb52bc1fda4b899629233047cfa09f85

Requested commit: bde7e55adb52bc1fda4b899629233047cfa09f85

Commit: bde7e55adb52bc1fda4b899629233047cfa09f85

Tree: ddbc7c2a3769e0873f7f86796f6b0bb264e781cd

Author: Lukas Wirth

Committer: GitHub

## Message

```
editor: Render diagnostic popover even if the source is out of view (#41449)

This happens quite often with cargo based diagnostics which may spawn
several lines (sometimes the entire screen), forcing the user to scroll
up to the start of the diagnostic just to see the hover message is not
great.

Release Notes:

- Fixed diagnostics hovers not working if the diagnostic spans out of
view
```

## Parents

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

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