Monaco-editor: tooltips are

Created on 26 Jun 2017  路  3Comments  路  Source: microsoft/monaco-editor

monaco-editor version: 0.8.3
Browser: chrome 58
OS: linux/windows
Steps or JS usage snippet reproducing the issue:

when hovering over symbols near the right edge of the editor, the tooltips are being shrunk horizontally resulting in unreadable text.

image

there needs to be a way to specify which container should be used to size the overflowingContentWidgets, so that those widgets can expand comfortably into any additional space on the page surrounding the editor.

there's no problem with overflow in this example (unlike with the playground). see, the context menu displays correctly:

image

Most helpful comment

You can try the option fixedOverflowWidgets: true.

All 3 comments

You can try the option fixedOverflowWidgets: true.

thanks, that's much better!

Great! This option helped to solve my two problems about hover and contextMenu.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lidermanrony picture lidermanrony  路  19Comments

NikGovorov picture NikGovorov  路  92Comments

jayspadie picture jayspadie  路  16Comments

oldrich-s picture oldrich-s  路  26Comments

fdeitelhoff picture fdeitelhoff  路  24Comments