Skip to content

Commit bead88e

Browse files
committed
Mark the DOM as readonly to prevent keyboard popup
You do not want half of your phone screen covered with a keyboard for readonly files.
1 parent 9284012 commit bead88e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webapp/public/js/domjudge.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1477,6 +1477,7 @@ function initDiffEditorTab(editorId, diffId, submissionId, models) {
14771477
scrollBeyondLastLine: false,
14781478
automaticLayout: true,
14791479
readOnly: true,
1480+
domReadOnly: true,
14801481
theme: getCurrentEditorTheme(),
14811482
renderSideBySideInlineBreakpoint: breakpoint,
14821483
useInlineViewWhenSpaceIsLimited: true,

0 commit comments

Comments
 (0)