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

akosyakov picture akosyakov  路  3Comments

brandalorian picture brandalorian  路  3Comments

Kedyn picture Kedyn  路  3Comments

zeegin picture zeegin  路  3Comments

SoftTimur picture SoftTimur  路  3Comments