Open softlion opened 2 years ago
@softlion thanks a lot your workaround helps for me as a temporary solution
App still crash when PeakAreaInsets is defined (Xamarin_Forms_Platform_iOS_CarouselViewLayout _getSizingInfosWithExistingSizingDictionary). Any chance to have a real fix soon other then just disabling the feature?
another workaround is to set PeekAreaInsets to 0 on XAML or code initialization and then change it with a DataTrigger linked to the one that has the IsVisible=false. This fixes the problem completely Example:
`
</DataTrigger>
</CarouselView.Triggers>`
Description
When IsVisible is set to false on a CarouselView or one of its parents, it crashes on iOS simulator, even with an empty content template.
Xamarin.Forms.Platform.iOS\CollectionView\ItemsViewLayout.cs:415
Steps to Reproduce
Expected Behavior
Actual Behavior
Basic Information
Crash Logs
Workaround
Remove PeekAreaInsets