How to keep suggestions inside the editor? #3631
Replies: 11 comments
-
I have tried: I have tried:
but it is used in
|
Beta Was this translation helpful? Give feedback.
-
Additionally it seems inconsistent.
while
|
Beta Was this translation helpful? Give feedback.
-
Each content widget can set We do not currently have an editor option to override/ignore that. |
Beta Was this translation helpful? Give feedback.
-
So let's treat it as feature request then. |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
Having the same problem... |
Beta Was this translation helpful? Give feedback.
-
I used internals to move them to the dom root - but didn't update Monaco for some time already because of it |
Beta Was this translation helpful? Give feedback.
-
I can try to add a PR for this in vscode. Can you confirm that this is how you want it to work? |
Beta Was this translation helpful? Give feedback.
-
In my case problem was mostly because of z-index - suggestions were partly hidden under other UI elements.
For (2) it could be optional field like:
|
Beta Was this translation helpful? Give feedback.
-
Any Update ? |
Beta Was this translation helpful? Give feedback.
-
For future readers: |
Beta Was this translation helpful? Give feedback.
-
monaco-editor npm version: 0.7.0
Browser: Chrome
OS: OSX
How Can I keep suggestions inside editor? Suggestions should respect boundaries of the layout - not entire browser.
In this context I would like to see suggestions right corner to be aligned to the editor right corner.
Is it possible in current version as a flag or is there any way to manually fix suggestions window position?
Beta Was this translation helpful? Give feedback.
All reactions