Skip to content
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

Feature Request: Option for editor control to go full height and let container do the scrolling #605

Closed
Arlen22 opened this issue Oct 18, 2017 · 1 comment

Comments

@Arlen22
Copy link

Arlen22 commented Oct 18, 2017

monaco-editor version: 0.10.1
Browser: Chrome
OS: Windows 7

I would like to be able to specify that the monaco editor overflows its container such that the container is forced to deal with the overflow. I should be able to specify this in either direction or both, and editor would resize itself to make sure there is no scrollbar in that direction. The code to do it would not be hard, and it should not be enabled by default.

I'm not talking about the container getting resized -- that's a separate issue that's been addressed ad nauseum. I want the container to resize to the desired height of the content so that the browser scrolls instead of the editor in the specified directions.

The use case is that I want to use the editor in a note management app where the entire content of the note is edited in the normal position in a page instead of in a popup, etc. So I have a specified width, but I want the height to be the full height of the content, which the browser could easily do if the editor would stop setting its height according to the container and just set it so there is no scroll bar.

@alexdima
Copy link
Member

Let's track in #794

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants