diff --git a/public/app/core/components/code_editor/code_editor.ts b/public/app/core/components/code_editor/code_editor.ts index 84da8d3da96..6a6e7b904f3 100644 --- a/public/app/core/components/code_editor/code_editor.ts +++ b/public/app/core/components/code_editor/code_editor.ts @@ -18,6 +18,7 @@ function link(scope, elem, attrs) { codeEditor.setTheme("ace/theme/solarized_dark"); codeEditor.setHighlightActiveLine(false); codeEditor.setShowPrintMargin(false); + codeEditor.$blockScrolling = Infinity; codeEditor.setValue(scope.content); codeEditor.clearSelection();