Horizontal scrollbar is resizing when scrolling along document document.
If I get it right, the issue comes from the “viewport” as CM is rendering only a slice of the document.
Of course, this behavior is mandatory to insure performances. @marijn, do you think would it be possible to “enforce” the width of the “cm-scroll” element to prevent this issue ?
I would be please to collaborate on this if you need any help.
Best regards,
There is code like this already in the system, but it had been broken by a recent CSS tweak. The patch below should help. You won’t get the proper scroll width until the first time you scroll the widest line into view, but once you do, it should remain stable.