We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06b6ba4 commit 89c73ffCopy full SHA for 89c73ff
src/MonacoEditor.tsx
@@ -156,6 +156,8 @@ function MonacoEditor ({
156
containerElement,
157
{
158
automaticLayout: true,
159
+ // We need to pass options here for the `scrollbar` options to be used
160
+ ...allOptions,
161
// We need to override all IStandaloneEditorConstructionOptions fields to prevent conflicts with proper editor options (especially `language`)
162
value: undefined,
163
language: undefined,
0 commit comments