Unplanned
Last Updated: 23 Jan 2025 20:46 by Zelin
Dev
Created on: 17 Jan 2025 14:56
Category: CollectionView
Type: Bug Report
1
CollectionView: [iOS] Scroll to last item scrolls to the first pixels of the last item
When scrolling to the last item using the ScrollITemIntoVIew() method to show the last item of a CollectionView, It doesn't scroll to the end of the list and only show the first pixels of the last item.
4 comments
Zelin
Posted on: 23 Jan 2025 20:46

Hi Didi,

Apologies for the late response. I've encountered a similar issue in my project on iOS, where I cannot scroll the CollectionView. I used the sample code from the Telerik documentation and the setup was simple: ContentPage with a RadCollectionView. However, when I run the same code in a standalone app, the issue doesn't occur, which is quite confusing. I am currently trying to identify any differences between my project and the standalone app, as both use the latest nuget packages with the same setup.

Also, I noted this issue happened after updating the nuget packages to:

  • MauiVersion: 9.0.30
  • CommunityToolkitMauiVersion: 11.0.0

And I'm aware of recent changes in the collectionView (https://github.com/dotnet/maui/pull/26893/files) but as far as I know, these should not affect the Telerik CollectionView, correct?

Thanks and regards,

Zelin

ADMIN
Didi
Posted on: 22 Jan 2025 07:03

Hello Zelin,

This is the option I can suggest for the behavior on iOS. On my side the workaround works as expected. The control scrolls to the end of the internal ScrollView.

Could you please share what is the exact setup you have and why the workaround does not work? 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Zelin
Posted on: 21 Jan 2025 21:39
Hi Didi, I attempted the suggested workaround, but it didn't resolve the problem from my end.
ADMIN
Didi
Posted on: 17 Jan 2025 14:59

Workaround:

Add the following to the page:

<ContentPage ............
xmlns:ios="clr-namespace:Microsoft.Maui.Controls.PlatformConfiguration.iOSSpecific;assembly=Microsoft.Maui.Controls"
ios:Page.UseSafeArea="True">

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.