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:
parent
d78266011d
commit
cbd116ce19
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue