← Back to Sandbox

Variable Heights

Chat-style message feed where each item's pixel height is measured from the DOM at init time using height: (index) => number. Each unique template is rendered into a hidden element, measured once, and the result is cached — accurate to the pixel.

Loading...