From 603907de3b6746454596cba835fb070925b04c02 Mon Sep 17 00:00:00 2001 From: prajyot004 Date: Mon, 13 May 2024 15:05:15 +0530 Subject: [PATCH] fix : "Get browser-compatible JavaScript out" Scrollbar Not working --- js/minirepl.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/minirepl.js b/js/minirepl.js index 80af8520d2..90221e3f84 100644 --- a/js/minirepl.js +++ b/js/minirepl.js @@ -4,6 +4,7 @@ import debounce from "lodash.debounce"; const miniReplExamples = [ "element.index ?? -1;", + "const a =

hello world

;", "const styles = {\n" + " ...defaults,\n" + ' color: "#f5da55",\n' + "};", "const city = address?.city", 'var name = "Guy Fieri";\nvar place = "Flavortown";\n\n`Hello ${name}, ready for ${place}?`;', @@ -37,6 +38,7 @@ function setupEditor(id, readOnly) { showGutter: false, showLineNumbers: false, theme: "ace/theme/tomorrow_night", + hScrollBarAlwaysVisible: true, // session mode: "ace/mode/javascript",