You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
Horizontal scrolling not working properly with fixedGutter option set to false #6436
On pressing end button in a line , the cursor moves to the end of the line but scrollbar does not catch up. We have to drag the scrollbar to the end to see the rightmost text.
Same thing happens when we type anything at the end of the line.
But with fixedGutter:true scrolling works properly.
varmyCodeMirror=CodeMirror(document.getElementById('editor'),{value: "function myScript(){console.log(\"100\");}\nconsole.log(\"test test test test test test test test testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest\");\n\n\n\n\n\n\n\n\n\n\n\n\n",mode: "javascript",lineNumbers: true,fixedGutter: false,});
Activity
Update/5.58.2 (#1)
Fix horizontal scrolling-into-view with non-fixed gutters