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: Pull to refresh control doesn't end gracefully. #1284

Open davecoffin opened 4 years ago

davecoffin commented 4 years ago

Tell us about the problem

Enable pull to refresh on a listview, pull to refresh, and when its complete notice the UI. It always used to bug me how the control just disappears, no graceful exit like with UIRefreshControl. But as of version 7.x, the listview doesnt scroll back up. You have to manually grab the list and move it back up.

Image

Which platform(s) does your issue occur on?

iOS

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

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

Enable pull to refresh on a listview, pull to refresh, and when its complete notice the UI.

jalbatross commented 4 years ago

Having the same issue

jalbatross commented 4 years ago

Still having it

gheorghitahurmuz commented 4 years ago

I have same problem but I replaced $nextTick with a component key pattern (add a :key="componentKey and in the pullTorefresh's callback:

onPullToRefreshInitiated({ object }) {
        this.getData();
         object.notifyPullToRefreshFinished();
         this.componentKey++;
    }

The cons:

  1. isn't smooth
  2. recalculate ui
riteshdalal commented 4 years ago

Any updates on this?

mmeven commented 4 years ago

As a work around you can use scrollToIndex(0, true) on the RadListView, it does the trick pretty well