monaco-editor
monaco-editor copied to clipboard
[Bug] Hover tooltip dimensions is incorrect for the fist time appear
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?
- [ ] Not 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
- Refresh the page via CTRL+R
- Hover mouse pointer at the
abcdtoken with diagnostic problems
Actual (Problematic) Behavior
Calculated width is not correct, actions was moved to the next line
Expected Behavior
Calculated width is correct and all content fits
Additional Context
No response
@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.