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

Make the Editor Resizable #3

Closed
evanplaice opened this issue Dec 29, 2019 · 1 comment
Closed

Make the Editor Resizable #3

evanplaice opened this issue Dec 29, 2019 · 1 comment

Comments

@evanplaice
Copy link
Member

Use ResizeObserver to detect when the dimensions of the editor box change and resize the Monaco instance to match.

Ref: https://github.com/juggle/resize-observer

@evanplaice evanplaice changed the title Make the Editor Resizablee Make the Editor Resizable Jan 8, 2020
@evanplaice
Copy link
Member Author

Turns out, Monaco has an automatic resizing option called automaticLayout

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant