DEV Community

Joshua Amaju
Joshua Amaju

Posted on

I built a virtual-scroll custom element that behaves like a normal scroll container

Why does virtual scrolling still feel harder than it should?

A lot of solutions solve performance, but they also force you into framework-specific APIs or awkward layout patterns like absolute positioning. I wanted something that felt much closer to normal HTML and CSS.

So I built a virtual-scroll custom element and wrote about the thinking behind it here

Curious how others think about this trade-off: should virtualization feel like a library feature, or more like a native platform primitive?

Top comments (0)