Autocomplete - break inside absolute container

I’m trying to create an input with CM6 inside a popover container. Everything works as expected if I style the parent with:

position: absolute;
top: xx px;
left: xx px;

But when I change the top/left to transform, I notice the view calculated wrong position for the suggestion list.

Here is the sandbox link: gracious-sun-cikg4 - CodeSandbox

Is it a bug or I must use the top/left properties?

Transformed editors are indeed not supported. See https://github.com/codemirror/codemirror.next/issues/324

1 Like