ProgressNS / nativescript-ui-feedback

This repository is used for customer feedback regarding Telerik UI for NativeScript. The issues system here is used by customers who want to submit their feature requests or vote for existing ones.
Other
115 stars 21 forks source link

RadListView - virtual scrolling not working properly #1395

Open abhayastudios opened 4 years ago

abhayastudios commented 4 years ago

Tell us about the problem

I am using RadListView with Angular to display user profiles bound to an RxJS Observable. When I have few items everything works fine, but I am working with say 800+ items it can take about 50 seconds before RadListView starts showing the first items.

After logging to the console an item index in the ngOnInit of the child card component and seeing there a line for all of the 800+ profiles, I understood that RadListView is populating all items instead of just the first couple as I would have expected with virtual scrolling. Something interesting and perhaps expected is that the speed of initializing the items decreases as RadListView adds items. The first few are loaded very fast, where more than half of the 800+ items is loaded within the first 12 seconds, and then it gets slower and slower.

After moving to ListView instead of RadListView it started working immediately and I saw that as expected with virtual scrolling, ListView populated initially only the first 12 items.

May be related to #1015 not entirely sure.

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with: