Mobile - List do not show all items

Mobile - List do not show all items

  

Hi,


I have a query that returns 73 records but the list only shows 23, this happens on mobile.

I have two situations, one is if I use the ListItem some items appear while I scroll down/up, but with not consistent behavior. 

The other situation is when I use a div within the list, in this case there are always only 23 items.


Any Help?


Thanks,

Pedro Coelho

Hi Pedro,

How do you know the query returns 73 records? If it does, are all 73 records also in the list? Could you use the devtools to check what records are in JavaScript?

Hi Kilian,


The query that returns the data is a server action and I checked that it returns 73 records in the debug, also JSON have all records: https://www.screencast.com/t/0Zs1JCj3Z4


The first scenario, where I want to show 4 records per line and only appear 26 items (sorry, not 23): https://www.screencast.com/t/3GNY6ZqjfY


In the second scenario where I use the ListItem the behavior is different, because when I do scroll some elements are shown and others hidden, what is normal but the scroll is not smooth, I can see elements being inserted while I scroll. I will send a video by message.


Thanks for your help.

Pedro

Hi Pedro,

What do you use to fill the list? UIs it dynamic? Do you use an OnScrollEnding?