This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Error tool tips lose styling when using overflowWidgetsDomNode #2233
Labels
You can continue the conversation there. Go to discussion →
I was trying to solve the issue of clipped tool-tips when embedding an editor in a container with an
overflow: hidden
style.This code reproduces that problem in the playground. Hover over the error squiggles to observe.
I tried to fix it by using the
overflowWidgesDomNode
option:Which worked, but all the styling disappears from the tool-tip:
I traced the issue to here:
https://github.com/microsoft/vscode/blob/master/src/vs/editor/contrib/hover/hover.ts#L339
Where a bunch of styles are added under
.monaco-editor .monaco-hover
. Adding this code to the playground code fixes the colors (though "peek problem") is still unstyled:Is a bug, or am I using this feature incorrectly?
Thanks,
The text was updated successfully, but these errors were encountered: