1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-27 08:21:03 +02:00

Set blockScrolling to Infinty (fixes error message) (#1363)

This commit is contained in:
Caleb John 2019-03-28 15:18:53 -06:00 committed by Laurent Cozic
parent c0980a5a9e
commit 4b9105edff

View File

@ -1809,7 +1809,7 @@ class NoteTextComponent extends React.Component {
// Disable warning: "Automatically scrolling cursor into view after
// selection change this will be disabled in the next version set
// editor.$blockScrolling = Infinity to disable this message"
editorProps={{$blockScrolling: true}}
editorProps={{$blockScrolling: Infinity}}
// This is buggy (gets outside the container)
highlightActiveLine={false}