Skip to content

Commit

Permalink
feat: disable sticky scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
AykutSarac committed Dec 7, 2024
1 parent 1a48ef1 commit 59de261
Show file tree
Hide file tree
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
Expand Up @@ -16,6 +16,7 @@ const editorOptions: EditorProps["options"] = {
tabSize: 2,
formatOnType: true,
minimap: { enabled: false },
stickyScroll: { enabled: false },
scrollBeyondLastLine: false,
};

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

0 comments on commit 59de261

Please sign in to comment.