sveltejs / svelte-virtual-list

A virtual list component for Svelte apps
https://svelte.dev/repl/f78ddd84a1a540a9a40512df39ef751b
Other
689 stars 58 forks source link

Img tags without height causes issues. #38

Open JohnRSim opened 4 years ago

JohnRSim commented 4 years ago

Enhancement request:

Support dynamic row height based off that autoscale height.

Issue When images load within virtual list row and expand the height when no height attribute is set - causes issues with scrolling to become jagged.

Fix Setting a fixed height on images resolves the issue.

Proposed Is it possible to add support to listen for image loads that change the height of the row?

Thanks