This is a migrated thread and some comments may be shown as answers.

[iOS] RadListView scrolls items out of view when the list view resizes

3 Answers 108 Views
ListView
This is a migrated thread and some comments may be shown as answers.
Patrick
Top achievements
Rank 1
Patrick asked on 30 Oct 2018, 03:58 PM

This does not happen on Android.

RadListView is in a star-sized grid row.  In the same grid, there is an auto-sized row that contains a control who's height changes as the user interacts with the view.  The RadListView uses an item template selector, and items have different heights.

When the auto-sized row changes height, the star-sized row, which contains the RadListView, changes height.  When this occurs, the items that were visible in the RadListView scroll out of view.  The distance that the RadListView scrolls seems to increase the farther down the list the control is.  It seems that the grid is redrawing itself completely and is trying to maintain the scroll position but is calculating the position incorrectly -- maybe using some default item height instead of the actuall scroll position in pixels.

3 Answers, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 31 Oct 2018, 01:09 PM
Hello Patrick,

Thank you for providing the detailed explanation.

I was able to observe the described issue with RadListView on iOS and logged it in our public portal, you could subscribe for status changes at the link below:
https://feedback.telerik.com/Project/168/Feedback/Details/258670-listview-ios-changing-listview-size-does-not-retain-scroll-position-properly

I've updated your points as a small sign of gratitude for your involvement.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Patrick
Top achievements
Rank 1
answered on 31 Oct 2018, 01:16 PM
Thank you.  I'm eagerly looking forward to a fix.  I'm currently in the process of refactoring an app to go back to the XF ListView because of this, but I really would prefer to use the RadListView.
0
Yana
Telerik team
answered on 01 Nov 2018, 08:07 AM
Hi Patrick,

Thank you for your input on this and I am sorry to hear this issue is a show-stopper for you.  We'll definitely have it in mind when planning our next iterations.

Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
ListView
Asked by
Patrick
Top achievements
Rank 1
Answers by
Yana
Telerik team
Patrick
Top achievements
Rank 1
Share this question
or