xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.64k stars 1.88k forks source link

[Bug] App crashes in iOS when PickAreaInset property is set in CarouselView control. #14555

Open divyesh008 opened 2 years ago

divyesh008 commented 2 years ago

Description

I have used CarouselView control in my Xamarin.Forms application and it was working fine with Xamarin.Forms version 4.8.0.1821

After I have updated Xamarin.Forms to version 5.0.0.2083 application has started crashing in iOS. Then I have removed PickAreaInset property from CarouselView and its working fine. But now I am facing another problem when I am loading page where I have CarouselView it loads all data properly but Carousel is got freeze. I am not able to change item in carousel or no command gets called from it.

Steps to Reproduce

  1. Add CarouselView
  2. Update Xamarin.Forms version to 5.0.0.2083
  3. Run application

Expected Behavior

Actual Behavior

Basic Information

Environment

Show/Hide Visual Studio info ``` === Visual Studio Community 2019 for Mac === Version 8.10.7 (build 17) Installation UUID: 37b2b03b-da62-4448-a9cb-3d20117a1c38 GTK+ 2.24.23 (Raleigh theme) Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638) Package version: 612000140 === Mono Framework MDK === Runtime: Mono 6.12.0.140 (2020-02/51d876a041e) (64-bit) Package version: 612000140 === Roslyn (Language Service) === 3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb === NuGet === Version: 5.9.0.7134 === .NET Core SDK === SDK: Not installed MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks === .NET Core Runtime === Runtime: Not installed === .NET Core 3.1 SDK === SDK: Not installed === Xamarin.Profiler === Version: 1.6.15.68 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler === Updater === Version: 11 === Apple Developer Tools === Xcode 12.5.1 (18212) Build 12E507 === Xamarin.Mac === Version: 7.14.0.24 (Visual Studio Community) Hash: c4b89cddb Branch: d16-10 Build date: 2021-06-15 22:03:00-0400 === Xamarin.iOS === Version: 14.20.0.24 (Visual Studio Community) Hash: c4b89cddb Branch: d16-10 Build date: 2021-06-15 22:03:01-0400 === Xamarin Designer === Version: 16.10.0.119 Hash: 36a2d986f Branch: remotes/origin/d16-10 Build date: 2021-06-02 19:41:34 UTC === Xamarin.Android === Version: 11.3.0.4 (Visual Studio Community) Commit: xamarin-android/d16-10/ae14caf Android SDK: /Users/differenz191/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 8.1 (API level 27) SDK Tools Version: 26.1.1 SDK Platform Tools Version: 30.0.4 SDK Build Tools Version: 30.0.2 Build Information: Mono: b4a3858 Java.Interop: xamarin/java.interop/d16-10@f39db25 ProGuard: Guardsquare/proguard/v7.0.1@912d149 SQLite: xamarin/sqlite/3.35.4@85460d3 Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0 === Microsoft OpenJDK for Mobile === Java SDK: /Users/differenz191/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25 1.8.0-25 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL === Android SDK Manager === Version: 16.10.0.12 Hash: e240b8c Branch: remotes/origin/d16-10 Build date: 2021-08-03 17:48:52 UTC === Android Device Manager === Version: 16.10.0.14 Hash: e340248 Branch: remotes/origin/d16-10 Build date: 2021-08-03 17:49:10 UTC === Build Information === Release ID: 810070017 Git revision: 503b9b053dff2e7f136e96b362a629c199f78a42 Build date: 2021-08-05 12:48:29-04 Build branch: release-8.10 === Operating System === Mac OS X 10.16.0 Darwin 20.4.0 Darwin Kernel Version 20.4.0 Thu Apr 22 21:46:47 PDT 2021 root:xnu-7195.101.2~1/RELEASE_X86_64 x86_64 ```
jsuarezruiz commented 2 years ago

Could you attach a small sample where reproduce the issue?. Thanks!

jsuarezruiz commented 2 years ago

Tried but cannot reproduce the issue. Could you attach a small sample? Issue14555.zip

kavitap0810 commented 1 year ago

Is there any update on this issue? I am also facing same issue. This comes when PickAreaInset is set and IsVisible is initially set to false and then its updated to true.