Auto Resizing Virtual List
The Virtuoso component automatically handles any changes of the items' heights (due to content resizing, images loading, etc.) You don't have to configure anything additional.
Launch the example below in a codesanbox and resize it around.