-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fixedOverflowWidgets=true makes suggestion widget shows at a wrong location when monaco-editor is hosted inside fluent Callout control #2503
Comments
I have the same problem. How can I solve it? |
My workaround is to change the Callout style to
|
We're noticing the same issue when using the fluent Panel. Notice that when the Editor is inside the Panel, the read-only widget appears in the wrong place: |
We have the same problem using |
@HappyEmu good to know, seems it's not Fluent related in that case. |
After some investigation I found out that the animation on the callout/panel is causing the issue. |
Edit: Seems transform alone is not enough to reproduce, there must be something else as well. |
Thanks for reporting this! I'm not sure, but this actually might be a duplicate. |
There are two reproducible examples in this issue. They could be more minimal but do showcase the issue. |
Please reproduce in the monaco editor playground, because there we can control the monaco editor version, have debugging and can rule our bundling/framework issues. |
https://codesandbox.io/s/affectionate-satoshi-ywlnk?file=/src/App.js
The Monaco-editor is placed inside a fluent Callout control (https://developer.microsoft.com/en-us/fluentui#/controls/web/callout)
fixedOverflowWidgets=true - suggestion widget shows at a wrong location (left is correct, top is incorrect)
fixedOverflowWidgets=false - suggestion widget shows at the right position, but it doesn't show complete...
The text was updated successfully, but these errors were encountered: