why delete line makes parent element scroll

222

editor height is fixed,why delete line makes parent element scroll

I found a way.
https://stackoverflow.com/questions/64146765/scroll-position-affected-by-internal-layout-changes-inside-a-page-element-chrom
It works by adding ‘overflow-anchor: none;’ to cm-scroller.

Oh, nice. I’ve added that kludge to the base styling in this patch.