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]: Datepicker controls distorted on initial rendering(Xamarin.Forms.iOS) SDK 16.2 #15751

Open sakshamchaudhary opened 1 year ago

sakshamchaudhary commented 1 year ago

Datepicker controls distorted on initial rendering(Xamarin.Forms.iOS) SDK 16.2

Steps to Reproduce

  1. Build Xamarin.Forms.iOS mobile application using SDK 16.2
  2. We have a popup, on which there are two datepicker controls. During the initial rendering, this control seems to be distorted on the iOS device(iPhone 13). If user pulls the popup up/down from the device, the distortion gets corrected and controls are rendered properly.
  3. However this works perfectly on simulator and there is no rendering issue. Issue is happening just with the real device.

Expected Behavior

After SDK upgrade to 16.2, there should not be any distortion issue.

Actual Behavior

Datepicker controls getting distorted post SDK 16.2 upgrade.

Basic Information

Environment

Show/Hide Visual Studio info ``` Visual Studio Professional 2022 for Mac Version 17.5.4 (build 8) Installation UUID: ca3cc0cb-6728-4e04-a7af-74cd5375492a Runtime .NET 7.0.1 (64-bit) Architecture: Arm64 Microsoft.macOS.Sdk 12.3.2372; git-rev-head:754abbf6a3563f6267e5717ae832b4ac25b1f2fb; git-branch:release/7.0.1xx-xcode13.3 Roslyn (Language Service) 4.5.0-3.23056.2+97881342e427ff5cdcba8f12b12ff8e6f3564431 NuGet Version: 6.4.0.117 .NET SDK (Arm64) SDK: /usr/local/share/dotnet/sdk/7.0.203/Sdks SDK Versions: 7.0.203 7.0.202 7.0.103 7.0.102 6.0.408 6.0.407 6.0.406 6.0.405 MSBuild SDKs: /Applications/Visual Studio.app/Contents/MonoBundle/MSBuild/Current/bin/Sdks .NET SDK (x64) SDK Versions: 6.0.408 6.0.407 6.0.406 .NET Runtime (Arm64) Runtime: /usr/local/share/dotnet/dotnet Runtime Versions: 7.0.5 7.0.4 7.0.3 7.0.2 6.0.16 6.0.15 6.0.14 6.0.13 .NET Runtime (x64) Runtime: /usr/local/share/dotnet/x64/dotnet Runtime Versions: 6.0.16 6.0.15 6.0.14 Xamarin.Profiler Version: 1.8.0.49 Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler Updater Version: 11 Apple Developer Tools Xcode: 14.2 21534 Build: 14C18 Xamarin.Mac Not Installed Xamarin.iOS Version: 16.2.0.5 Visual Studio Professional Hash: 7738c90c9 Branch: xcode14.2 Build date: 2023-01-25 15:56:15-0500 Xamarin.Android Version: 13.2.0.0 (Visual Studio Professional) Commit: xamarin-android/d17-5/797e2e1 Android SDK: /Users/Saksham.Chaudhary/Library/Developer/Xamarin/android-sdk-macosx Supported Android versions: 12.0 (API level 31) 13.0 (API level 33) SDK Command-line Tools Version: 7.0 SDK Platform Tools Version: 33.0.3 SDK Build Tools Version: 32.0.0 Build Information: Mono: 6dd9def Java.Interop: xamarin/java.interop/main@149d70fe SQLite: xamarin/sqlite/3.40.0@fdc1e34 Xamarin.Android Tools: xamarin/xamarin-android-tools/main@9f02d77 Microsoft Build of OpenJDK Java SDK: /Library/Java/JavaVirtualMachines/microsoft-11.jdk 11.0.16.1 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Eclipse Temurin JDK Java SDK: /Library/Java/JavaVirtualMachines/temurin-8.jdk 1.8.0.302 Android Designer EPL code available here: https://github.com/xamarin/AndroidDesigner.EPL Android SDK Manager Version: 17.5.0.33 Hash: f0c0c52 Branch: remotes/origin/d17-5~2 Build date: 2023-04-05 15:58:45 UTC Android Device Manager Version: 0.0.0.1245 Hash: 7f8a990 Branch: 7f8a990 Build date: 2023-04-05 15:58:45 UTC Xamarin Designer Version: 17.5.3.47 Hash: e8b5d371c3 Branch: remotes/origin/d17-5 Build date: 2023-04-05 15:58:40 UTC Build Information Release ID: 1705040008 Git revision: 9a2f0e1a7e2107e6b1174c241a1ca232cde57c49 Build date: 2023-04-05 15:56:57+00 Build branch: release-17.5 Build lane: release-17.5 Operating System Mac OS X 13.2.0 Darwin 22.3.0 Darwin Kernel Version 22.3.0 Thu Jan 5 20:48:54 PST 2023 root:xnu-8792.81.2~2/RELEASE_ARM64_T6000 arm64 ```

Screenshots

image

Workaround

Not able to Find the Workaround for this issue as there has been no code change from the previous SDK version.