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 iOS LoadMoreItems doesn't work without setTimeout #1329

Open shiv19 opened 4 years ago

shiv19 commented 4 years ago

Please, provide the details below:

Tell us about the problem

When using a RadListView with loadMoreItems, calling listView.notifyLoadOnDemandFinished(); outside a setTimeout makes it not work on iOS (works fine on Android), on iOS, the spinner keeps spinning until you tap on it.

Which platform(s) does your issue occur on?

iOS only

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

Reproducible on Playground

Please tell us how to recreate the issue in as much detail as possible.

https://play.nativescript.org/?template=play-tsc&id=UjvFm4 Run this on iOS, scroll down, and you'll see that the spinner keeps spinning until you tap on it.

home-view-model.ts line 35, if you uncomment that setTimeout, then load more items works as expected.

On Android, it works fine, with or without the setTimeout :)