How can i use virtual-list without height defined?

When i used virtual list,it displayed ul as

<ul style="height: 1232px;">

I don’t know why does F7 calc height prop of the virtual-list and write as style?
I want the list height auto-fit content to avoid background display confused.How can i stop this calc?

It is required and mandatory, otherwise there will no be any scrolling -> VL won’t work. You need to specify each item height in VL parameters like in examples

Thanks for your kindness!
I get it,that means i must know each item height.
But it is not necessary.
Different terminal devices will display differently,how can i deal with it?