# edit prediction: Fix popover positioning when placed above edit \(\#23902\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 5e210c083fc4d1a00c9a7dac7abf185351bb9b3e

Requested commit: 5e210c083fc4d1a00c9a7dac7abf185351bb9b3e

Commit: 5e210c083fc4d1a00c9a7dac7abf185351bb9b3e

Tree: 9429b91d940b8fdf054678abc96cd9de9654d99a

Author: Bennet Bo Fenner

Committer: GitHub

## Message

```
edit prediction: Fix popover positioning when placed above edit (#23902)

Fixes an off-by-one error when the popover was placed above the edit:
<img width="688" alt="Screenshot 2025-01-30 at 11 59 14"
src="https://github.com/user-attachments/assets/938a6626-3f4d-4566-b68c-89b14d48b68d"
/>


Release Notes:

- N/A
```

## Parents

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

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