Is there a way to render the autocomplete list in a different DOM element, like document.body
?
I’ve set overflow: hidden
on .cm-editor
so that I can get browser resizing:
"&.cm-editor": {
resize: "vertical",
overflow: "hidden",
},
But that makes the autocomplete clipped because I have a code mirror instance that starts at 1 row and grows.
Is it possible to move the autocomplete dom element out of the cm-editor
element?
I guess another approach would be to detect when the autocomplete list is open and remove the overflow: hidden
.