How do I disable changing the top tab by swiping left or right in a .NET MAUI app using Shell?
I have a CarouselView on a page that is displayed within a top tab, but when doing a normal swiping gesture, it doesn't go to the next item in the CarouselView, but switches the top tab instead. If you want to change the item in the CarouselView, you have to press in place for a moment, and then swipe, but that it extremely unnatural.
I understand that having two containers that support swiping on top of each other is a problem, so I simply want to disable the possibility to change tabs by swiping. The user can just tap the corresponding tab if they want to change it.
It might be an Android only problem, the CarouselView on Windows is buggy anyway and I don't have the hardware required to test the iOS version at the moment.
I found a documentation on how to disable swiping in a tabbed page (https://learn.microsoft.com/en-us/dotnet/maui/android/platform-specifics/tabbedpage-page-swiping?view=net-maui-7.0), but it explicitly says that this approach doesn't work when you use Shell.