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

width issue #193

Open
mahdiElliot opened this issue Aug 3, 2021 · 1 comment
Open

width issue #193

mahdiElliot opened this issue Aug 3, 2021 · 1 comment

Comments

@mahdiElliot
Copy link

hello
when i resize the browser the width of the editor doesn't change or stretch with resizing, it stays constant and page has to be refreshed to fit the width again
thanks,
Mahdi

@zacbrannelly
Copy link

zacbrannelly commented Aug 21, 2021

This is how I fixed that issue:

<monaco-editor
  :options="{ automaticLayout: true }"
/>

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

2 participants