← Back to community index
# contributor·Active

mohan-bee - @! Rushabh | Linux Shill

mention

Started by mohan-beeAug 5, 202614 messages

Discussion

Last active last month · plain text
Rishabh
That drone board outline looks cool
mohan-bee
yeaa !! just one shot btw
Rishabh
nice
! Rushabh | Linux Shill
yeah its a known issue
! Rushabh | Linux Shill
https://github.com/microsoft/monaco-editor/issues/5296
! Rushabh | Linux Shill
i wonder how vscode solves it
mohan-bee
you make a PR
mohan-bee
Lol
Vanuan
The problem seems to be that there's no space for the tooltip to be displayed. Try increasing top margin or padding
Vanuan
This is a common problem with tooltip in general, not specific to monaco: as tooltip text grows to be multiline, it creates a dilemma: whether you use overflow hidden and cut part of the tooltip or you just press the tooltip against the box boundary.
Vanuan
So the author must decide: - add space to the sides, so that it isn't multiline - add space vertically so that the tooltip isn't shifted relative to the origin point - use a smaller font - change anchor to the side etc, etc So it's a UI design problem, not a problem of implementation
Vanuan
Monaco can't force a decision on its users
! Rushabh | Linux Shill
thank you, will take a look

Want to add to the conversation?

Reply in Discord so your notes stay connected to the source.
Continue in Discord ↗