-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add a setting like fixedOverflowWidgets for the context menu #1203
Comments
@spahnke Not sure I fully understand the problem. Here is what I get (which looks kind of OK): |
You are right, the flag didn't affect the context menu at all. I don't where I was looking... I'm so sorry for the noise! 😥 |
Hm... we probabaly need an option in the editor in order not to let the context menu overflow the editor space. |
That would be ideal. |
@alexdima was there any progress on this issue? |
@alexdima Just pinging to see if this backlog item could be addressed some time in the near future. |
ping on this |
pined |
Resolves an issue where widgets and context menus were being cut off when they extended outside the Editor's container by enabling fixedOverflowWidgets. Refs: microsoft/monaco-editor#1203
Resolves an issue where widgets and context menus were being cut off when they extended outside the Editor's container by enabling fixedOverflowWidgets. Refs: microsoft/monaco-editor#1203
monaco-editor version: 0.15.5
Browser: any
OS: Windows 10
Edited: There was no bug in the first place, so this is rather a feature request.
Hi,
we embed the editor in a div which has
overflow: hidden
set which I can't change easily (it's a custom element coming from our framework). If you setfixedOverflowWidgets: true
widgets like the suggestion list are able to overflow the editor space such that they are shown to their full extent. However, this does not affect the context menu. It would be great to have a similar option for it.Playground example:
Open a context menu at the border of the marked div.
Thanks!
The text was updated successfully, but these errors were encountered: