Closed FadySalama closed 4 years ago
This had already been fixed with pure css. Something broke I guess but this should work on the target editor element:
div {
resize: vertical;
overflow: auto;
}
An alternative is to add the following to the options property of MonacoEditor (pass it into the component as option prop)
automaticLayout: true
@Fady222 could you maybe try this? I'm having issues with electron:serve still. Thanks!
Ref: here
When the window is resized, the Monaco Editor does not resize to fill its container. The editor maintains its initial proportions at the moment of rendering.