Resize-Resilient `content-visiblity` Fixes
Alex Russell
DECEMBER 6, 2020
The solution in the last post on content-visibility and how to prevent jumpy scrollbars had a few drawbacks: Because content-visiblity: visible was never removed from elements, painting and layout invalidation inevitably grew slower as more and more content was added to the visible tree by scrolling. Resizing, in particular, suffers on large documents of this sort, and jumping "far" into a document can still be jittery.
Let's personalize your content