Unverified Commit 5fcf78dd authored by liuzhe-lz's avatar liuzhe-lz Committed by GitHub
Browse files

prevent scroll beyond last line (#2497)


Co-authored-by: default avatarliuzhe <zhe.liu@microsoft.com>
parent a77c56dd
...@@ -25,7 +25,8 @@ const CONTROLTYPE = [ ...@@ -25,7 +25,8 @@ const CONTROLTYPE = [
]; ];
const MONACO = { const MONACO = {
readOnly: true, readOnly: true,
automaticLayout: true automaticLayout: true,
scrollBeyondLastLine: false,
}; };
const DRAWEROPTION = { const DRAWEROPTION = {
minimap: { enabled: false }, minimap: { enabled: false },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment