-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Editor popups get cut off outside of view #14290
Comments
@sgraband there is a service injected into the monaco editor instance which manages the confinement of the popover elements like menus and hovers. Not sure why this is not working. |
I think VS Code has the same problem. |
@tsmaeder I had a quick look and found this, which handles context menus. In this case, the context menu appears over the border of the editor view as expected. However, I couldn't locate a similar injection for suggestions. Could you point me to where the suggestion list is rendered? Then i could take a look if this could easily be done in a similar way. |
@sgraband sorry, but I don't know. You'll have to dig through the VS code source to find the place. |
If you disable/remove the |
Bug Description:
I've noticed that popups, such as the suggestion/signature helper, are confined to the space of the code editor. When the popups extend towards other views, such as the bottom panel or the right panel, they are cut off rather than rendered in full. This limits the available space unnecessarily, as the popup could instead be rendered above the adjacent panel or viewport, avoiding this cutoff issue.
Is there a technical reason for this behavior, or is this something that can be improved to utilize the available space more effectively?
Screenshot:
Steps to Reproduce:
Additional Information
The text was updated successfully, but these errors were encountered: