Open Totodore opened 3 days ago
Would it be enough to simply show the popup near the cursor, or should we try to apply the transform from editor to the popup?
I think the popup should be transformed because if it is only positionned according to the mouse the scaling is not respected. I think that currently it's how it works and with only translation it is OK. But with scaling, it messes with the translation and it ends up being shifted.
Describe the bug
I have an editor that is css-transformed (scaling and translation). The editor is working well thanks to the
hasCssTransforms
config property. However the completer popup is completely mis-positionned:Expected Behavior
I would expect the popup to be positioned according to the transformed editor no matter its scaling/translation.
Current Behavior
The popup is positioning according to absolute screen coordinates.
Reproduction Steps
index.html
Possible Solution
No response
Additional Information/Context
No response
Ace Version / Browser / OS / Keyboard layout
1.36.5 / Chrome 131.0