feat: disable sticky scroll

This commit is contained in:
AykutSarac 2024-12-07 23:28:13 +03:00
parent 1a48ef11ab
commit 59de261a1f
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -16,6 +16,7 @@ const editorOptions: EditorProps["options"] = {
tabSize: 2,
formatOnType: true,
minimap: { enabled: false },
stickyScroll: { enabled: false },
scrollBeyondLastLine: false,
};

View File

@ -92,9 +92,8 @@ export const SchemaModal = ({ opened, onClose }: ModalProps) => {
tabSize: 2,
formatOnType: true,
scrollBeyondLastLine: false,
minimap: {
enabled: false,
},
stickyScroll: { enabled: false },
minimap: { enabled: false },
}}
/>
</Paper>