jeudi 1 septembre 2022

EmberJS: Best way to handle multiple item heights in vertical collection

I am using https://github.com/html-next/vertical-collection in my emberjs project. In one of my lists I have elements with different heights and I was wondering how to handle estimateHeight

I have 3 different heights to account for, eg [100, 200, 300] I have tried estimateHeight with all 3 of these values and the add-on seems to handle everything well but Im trying to find the best way to ensure it is still performant.




Aucun commentaire:

Enregistrer un commentaire