CM5: Any workarounds for variable line height scrolling/calculation jumps

I’ve run into an issue I haven’t been able to work around when my content contains lines with different heights.

When scrolling up, the document will “jump” whenever it has to recalculate the lines above the viewport. As the text gets larger compared to the default editor font, the effect is more pronounced, and entire page can suddenly appear when scrolling.

example: https://codepen.io/billiam/pen/wveBRNd

Can anybody suggest any kind of workaround that prevents that jumping?

Does this patch help for you?

1 Like

It sure does. Thank you so much!