-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Open
microsoft/vscode
#283599Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug
Description
Reproducible in vscode.dev or in VS Code Desktop?
- Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Monaco Editor Playground Code
Reproduction Steps
Use the "Configure JavaScript Defaults" example, enable semantic validation, introduce an error in the code (e.g. next() -> nex()) and add div with some height into the HTML snippet before the editor
<div style="height: 50px">test</div>Actual (Problematic) Behavior
Hovering the new "Copy" button of the diagnostic text shows the tooltip offset from the button by the height of the preceding HTML element (in this example 50px), and the text itself uses a serif font different from the rest of the editor
Expected Behavior
Tooltip is aligned properly and uses consistent font.
Additional Context
0.55.0-dev-20251107
Copilot
Metadata
Metadata
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bug