-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[iOS] Xamarin forms list view unnecessarily scrolling to top when load more command is executed[Bug] #8306
Comments
@SatyaRamprasad I'm not sure what kind of priority |
@SatyaRamprasad Can you post the code for the command you are executing? What exactly does "load more" do? |
@hartez i have added a sample project which reproduces the issue while scrolling. |
@hartez I had the same issue as described in the title, I had a function to load more messages to a chat listview that was bound to an ObservableRangeCollection, on load more it would simply bulk insert new messages which was causing scrolling to automatically scrolll to top of listview on iOS. Android it worked fine and did not auto scroll but on iOS it wants to auto scroll to top of listview. I have not yet tried with Collection view. |
is there any workaround for this issue? it's impacting alot my app |
I'm have the same problem :( :( |
@BalsamIbrahim As this list view issue didn't fixed yet, i switched my list to collection view. No issues now |
Try using Collection View |
if we use CollectionView in a RefreshView then there is exactly the same problem: |
Have this problem also. |
same here |
I have tricky solution to prevent this issue by removing IsRefreshing flag in your list view. |
Can you share it please |
Same issue. What I've done that seems to prevent the jump is to disable |
Description
[iOS] Xamarin forms list view unnecessarily scrolling to top when load more command is executed
Steps to Reproduce
Create a custom list view with LoadMoreCommand
public class CustomListView : ListView
{
}
Add items to customlistview
Run and scroll to last item
Expected Behavior
Should not scroll to top after load more command
Actual Behavior
Scrolling to top when load more command executed
Basic Information
Screenshots
Reproduction Link
The text was updated successfully, but these errors were encountered: