fix(editor): fixedOverflowWidgets so marker hovers render above the canvas

A hover wider than the editor pane slid under the simulator canvas
(sibling stacking context) and could not be read.
This commit is contained in:
David Montero Crespo 2026-08-15 08:32:19 +02:00
parent d78266011d
commit cbd116ce19
1 changed files with 5 additions and 0 deletions

View File

@ -77,6 +77,11 @@ export const CodeEditor = () => {
automaticLayout: true,
scrollBeyondLastLine: false,
wordWrap: 'on',
// Hover/suggest/signature widgets escape the editor's box as
// position:fixed overlays. Without this, a marker hover wider
// than the editor pane slides UNDER the simulator canvas next
// to it (sibling stacking context) and can't be read.
fixedOverflowWidgets: true,
}}
/>
</div>