I programmatically add/remove three gutters (code folding, bookmark, and line numbers) depending on users settings. This is done after initialization of codemirror.
This is within mobile webview.
Even after calling cm.refresh() the cursor will disappear to the right of the screen the same width of my gutters. If no gutter is on, all works perfectly. Using arrow key right scrolls as you get near the right border.
Is there another way to force the gutter calculation into this right scroll margin? or is this a bug? CM 5.24