Skip to content

Commit

Permalink
feat: disable sticky scroll
Browse files Browse the repository at this point in the history
AykutSarac committed Dec 7, 2024

Verified

This commit was signed with the committer’s verified signature.
AykutSarac Aykut Saraç
1 parent 1a48ef1 commit 59de261
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/containers/Editor/components/TextEditor.tsx
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@ const editorOptions: EditorProps["options"] = {
tabSize: 2,
formatOnType: true,
minimap: { enabled: false },
stickyScroll: { enabled: false },
scrollBeyondLastLine: false,
};

5 changes: 2 additions & 3 deletions src/containers/Modals/SchemaModal/index.tsx
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 59de261

Please sign in to comment.