zed
zed copied to clipboard
JSDoc: Documentation when hovering the element to see docs not well positioned
Check for existing issues
- [X] Completed
Describe the bug / provide steps to reproduce it
When hovering a not used class, method or anything else in JavaScript or related (svelte, react, nodejs, etc) the positioning of the hint is overflowing it to top. (Figure 1) It works when it's really close to top, (Figure 2) but when scrolled down it doesn't work as expected.
This happens beacuse the "js: value is never read" is maybe positioned on top. And only when it doesnt fit above he goes down. If I use the value the "js: value is never read" goes away and then the hint position itself normally.
Environment
Zed: v0.123.6 (Zed) OS: macOS 14.2.1 Memory: 8 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
Figure 1 👇
Figure 2 👇
If applicable, attach your ~/Library/Logs/Zed/Zed.log
file to this issue.
If you only need the most recent lines, you can run the zed: open log
command palette action to see the last 1000.
No response