monaco-editor icon indicating copy to clipboard operation
monaco-editor copied to clipboard

[Bug] Hover tooltip dimensions is incorrect for the fist time appear

Open BusinessDuck opened this issue 2 years ago • 1 comments

Reproducible in vscode.dev or in VS Code Desktop?

  • [X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

Monaco Editor Playground Link

https://microsoft.github.io/monaco-editor/playground.html#example-extending-language-services-model-markers-example

Monaco Editor Playground Code

No response

Reproduction Steps

  1. Refresh the page via CTRL+R
  2. Hover mouse pointer at the abcd token with diagnostic problems

Actual (Problematic) Behavior

Calculated width is not correct, actions was moved to the next line

image

Expected Behavior

Calculated width is correct and all content fits

image

Additional Context

No response

BusinessDuck avatar Nov 16 '23 11:11 BusinessDuck

@aiday-mar can you look into this? It works in https://microsoft.github.io/monaco-editor/playground.html?source=v0.35.0-dev.20230126#example-extending-language-services-model-markers-example - you can use the bisect feature of the playground to identify when it broke.

hediet avatar Dec 14 '23 10:12 hediet