zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
39.3k stars 2.04k forks source link

Tooltip obscures modals #9045

Open Moshyfawn opened 3 months ago

Moshyfawn commented 3 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

The tooltip is displayed above the command palette, obscuring the visibility of the items.

The problem is only reproducible when the tooltip position is above the syntax element that produces it, as shown in the screenshot. If the tooltip is anchored to the bottom of the syntax element, the tooltip is not displayed above the command palette.

The same applies to project symbols and file finder modals.

Environment

Zed: v0.126.0 (Zed Preview) OS: macOS 14.2.1 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

zed-tooltip

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

Moshyfawn commented 3 months ago

The issue is related to tooltip stacking in #8276 overall, though not quite a duplicate.