Unplanned
Last Updated: 20 Feb 2025 12:58 by ADMIN
Zelin
Created on: 06 Dec 2024 12:30
Category: TabView
Type: Bug Report
8
CollectionView: [iOS] The UI freezes while scrolling when the CollectionView is placed inside a TabView
The UI freezes when RadTabView is used as a parent container for RadCollectionView and the CollectionView is scrolled.
22 comments
ADMIN
Didi
Posted on: 20 Feb 2025 12:58

Hi Malcolm,

No further update on this. The item is added in the planning for fixing, still no time-frame when fix will be provided. When there is an update it will be addressed in the item.

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.

Malcolm
Posted on: 20 Feb 2025 12:14
any further feedback on the tabview issue? Is the team still investigating root cause?
We are stuck on 9.0.22 until this gets fixed :( Would be great if we can get the other bug fixes that have been made to Maui.Controls since then 🙏
Zelin
Posted on: 13 Feb 2025 19:11

Hi Didi,

I’ll open a ticket and log a separate issue with your team shortly.

Thanks,
Zelin

ADMIN
Didi
Posted on: 13 Feb 2025 07:10

Hello Zelin,

The issue with the TabView and CollectionView inside TabView content is logged here.

The CollectionView scrolling issue in Maui 9.0.30 and CollectionView inside TabView are two different issues. The issue here is related to the TabView control while the CollectionView scrolling in Maui 9.0.30 was related to the CollectionView control in a combination with changes in the iOS MAUI ScrollView.

Hope this clarifies the things.

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: 12 Feb 2025 19:05

However, I discovered additional issues, such as the tab content not updating when clicking on the tab header. For example, if a CollectionView is inside, the tab content appears to get stuck.

Zelin
Posted on: 12 Feb 2025 16:58
I tested it with the latest MAUI 9.0.40, and the issue appears to be resolved.
Malcolm
Posted on: 12 Feb 2025 14:02
The issue also goes away if you don't wrap the TabbedPage child in a Navigation page. Unfortunately we need navigation page parent.
Malcolm
Posted on: 12 Feb 2025 13:56
if it helps - attached a sample project using a tabbedpage.
Interestingly the tabbed first page has the scroll issue, but the second tabbed page does not 🤷‍♂️
ADMIN
Didi
Posted on: 06 Feb 2025 09:32

Hi all,

There isn't an update on this item. When there is a change, the item status will be updated. 

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: 04 Feb 2025 23:20
Since the timeline for fixing this issue is uncertain. Currently, to work around the freezing issue, I have to implement a custom TabView to replace RadTabView temporarily. Once the issue is resolved, I need to remember to switch back.
Andy
Posted on: 04 Feb 2025 23:09

Hello, any update for this bug?

I'm still using the workaround of nesting the CollectionView into a ScrollView to prevent virtualization and make it work in iOS, is not the best solution and makes CollectionView loses it owns scrolling abilites but at least it doesn't freeze. For now, CollectionView from Telerik inside a TabView is useless. 

Fernando
Posted on: 25 Jan 2025 22:30
I think this is a very important bug. There are many of us using the TabView. Right now, I would have to spend a lot of time redoing our app
Malcolm
Posted on: 24 Jan 2025 16:25
You can work around it by wrapping it in a scrollview and then in order to get swipe to work you can customize the iOS ScrollView handler to recognize simultaneous actions - BUT the rendering performance goes from bad to absolutely abysmal - not nearly good enough to be able to release to customers.

Also - this was not an issue for .NET 8 - but now happens with .NET 9?
Malcolm
Posted on: 24 Jan 2025 08:20
This is a critical issue - we cannot release our app with a CollecionView that is broken in this way :(
ADMIN
Didi
Posted on: 22 Jan 2025 07:55

Hello Edoardo,

The issue is included in our planning. Still I cannot promise that a fix will be provided in the upcoming release. The team researches the issue.

Regarding to a workaround, I am afraid I cannot suggest another approach. In general, the behavior is related to the TabView control.

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.

Workgroup
Posted on: 21 Jan 2025 16:50

Hello Didi,

We're having the same issue. In our case to make the TabView unreactive is a stack layout embedded in a scroll view inside a TabView. No other scrollable items in the view.
This means that we're not able to scroll vertically the tab view content. Meanwhile this bug is fixed, can you please provide a workaround that provide scrolling?

 

Thanks.
Regards.
Edoardo.

ADMIN
Didi
Posted on: 24 Dec 2024 10:33

Hi Andy,

In general, nesting scrollable objects is not recommended. This is described in the Microsoft documentation for the ScrollView control.

ScrollView objects should not be nested. In addition, ScrollView objects should not be nested with other controls that provide scrolling, such as CollectionView, ListView, and WebView.

So nesting CollectionView in a ScrollView breaks the UI virtualization. And setting a definitive height was suggested to enable the swipe and reorder features.

The issue is escalated to the team, so when there is an update, the item status will be changed.

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.

Andy
Posted on: 23 Dec 2024 15:39

Hello Didi,

Applying that approach setting a definitive height to the CollectionView when is inside a ScrollView that is in a TabView gets in the same result of freezing when scrolling.

ADMIN
Didi
Posted on: 21 Dec 2024 11:38

Hello Andy,

If you place the CollectionView in a ScrollView then set a definitive height to the CollectionView control. Test this approach in a combination with swipe and reorder feature.

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.

Andy
Posted on: 20 Dec 2024 18:15

I found a workaround for this:

Nest CollectionView into a ScrollView, this will make the CollectionView use the scroll ability from ScrollView and not itself which is the one is wrong. Of course this is not a perfect approach but worked in my case.

The bad news is that using a ScrollView, the CollectionView control can't have scroll features like Swipe and I think Drag N Drop. For my app I'm using swipe and I had to disable swipe feature from CollectionView, otherwise ScrollView's scroll won't work. To keep swipe working meanwhile Telerik solve this bug, I used a SwipeView for my item template and it is working.

Zelin
Posted on: 19 Dec 2024 00:21
The Telerik team is deprecating the RadListView: Link. Perhaps we should wait for it to be fixed. From my experience, the performance of using RadCollectionView is significantly better than that of RadListView.
Andy
Posted on: 18 Dec 2024 23:50
I'm experiencing the same problem and couldn't find a solution or workaround so far. ListView was working better than this.