Closed Tnze closed 6 months ago
It seems to have a very small size in the upper left corner, before I resize the editor.
What a weird bug!
Are you sure it's related to that library? the peek component is included in monaco itself
This issue is stale because it has been open for 30 days with no activity.
I have also noted this issue with the Monaco editor when you try to peek a definition. The fix was to either wait for the definitions to be loaded or apply some css to the editor so it takes full width/height
wait for the definitions to be loaded
How do I wait for the definitions to be loaded?
wait for the definitions to be loaded
How do I wait for the definitions to be loaded?
It depends on how you get the definitions. When I use for example vscode-languageclient, I can use the middleware and intercept when the definitions are received from the language server. Then I make sure that the files for the definitions are actually loaded.
Else try to put a width/height of 100% on the element “.reference-inline-widget .inline”
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.
Please watch the video:
https://github.com/CodinGame/monaco-vscode-api/assets/19628575/436af707-2898-4b4f-9770-c69e7c0f6ae6