iOS App Crash When Setting Padding with ShowTrailingAndLeadingDates Set to False in Calendar

Dear Syncfusion Support Team,


I would like to report an issue encountered while using the Syncfusion.Maui.Calendar component.


When setting the property ShowTrailingAndLeadingDates="False" and also applying a Padding value to the control, the app crashes on launch. Interestingly, this issue does not occur while running the app in Debug mode — it only crashes when the app is launched outside the debugger (e.g., in Release mode).


This appears to be a runtime crash specific to the combination of ShowTrailingAndLeadingDates="False" and the Padding property.


Could you please investigate this issue? Let me know if you need any additional information.


Thank you for your support!


Best regards.


Attachment: CalendarDemo_da749025.zip

6 Replies 1 reply marked as answer

HM Hadayarahman Mohamed Khan Yusuf Syncfusion Team May 2, 2025 12:59 PM UTC

Hi Jon Kao,

We're glad to inform you that we have addressed this problem by checking visible dates count. We have also prepared a custom patch (NuGet package) that includes this fix. I've attached this patch below for your convenience. Please feel free to download and apply the update to see if it resolves the issue on your end.

In case you continue to experience the problem, we would appreciate any additional information, especially regarding the scenarios where you face this issue, a code snippet or sample that replicates the problem would be extremely helpful for us to investigate further and ensure a comprehensive resolution.

Root Cause: visible dates becomes empty.

Note:
Before installing the patch, please follow the steps below to remove the old cache NuGet and check your application with the provided NuGet:

  1. Uninstall the Syncfusion NuGet installed in your application.
  2. Clear your application NuGet cache referring the KB: How to clear NuGet cache?.
  3. Clean your application.
  4. Install the patch NuGet for the SfCalendar control (Syncfusion.Maui.Calendar).
  5. Check the reported problem.

Disclaimer:

Please note that the patch was prepared specifically for version 29.1.40. Could you kindly confirm that the patch works as expected. We will include the issue fix in our upcoming weekly NuGet release update once confirmed and appreciate your patience until then.


Attachment: Patch_8b54bd81.zip


JK Jon Kao May 3, 2025 07:35 AM UTC

Dear Syncfusion Support Team,


Thank you very much for the quick response and for providing the .nupkg file.


I’m currently working on a Mac and using Visual Studio Code for development, and I’m not quite sure how to install or reference a local .nupkg package in this environment. I’ve searched online but couldn’t find a clear guide for this setup.


Could you kindly provide instructions on how to install and use the provided .nupkg file in a .NET MAUI project on Mac using Visual Studio Code?


I really appreciate your support and the effort you’ve put into helping with this issue. Thank you again!


Best regards.



HM Hadayarahman Mohamed Khan Yusuf Syncfusion Team May 5, 2025 11:01 AM UTC

Hi Jon Kao,

Regarding Installing nupkg file on Mac using Visual Studio Code

To add a NuGet package source, you can execute the following command in your terminal:

dotnet nuget add source <PACKAGE_SOURCE_PATH>

Make sure to replace <PACKAGE_SOURCE_PATH> with the actual path to the NuGet package source. This command allows us to add a new package source to .NET environment, making it easier to manage dependencies and libraries.

For more information and guidelines, we can refer here:
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-nuget-add-source

Regards,

Hadaya Rahman M



JK Jon Kao May 5, 2025 03:35 PM UTC

Dear Syncfusion Support Team,


Thank you again for your assistance and for providing the .nupkg file.


Unfortunately, due to some issues on my end, I wasn’t able to successfully install and test the package. That said, I trust that the fix has been properly implemented based on your efforts and the details shared.


I truly appreciate your time and hard work in addressing this issue — thank you again for your continued support.


Best regards.



SR Sri Radhesh Nag Subash Sankar Syncfusion Team May 6, 2025 09:19 AM UTC

Hi Jon Kao,


Thank you for the update. We plan to include this solution into the Weekly NuGet package scheduled for release on May 13, 2025. We will let you know once the NuGet release is rolled out and appreciate your patience until then. Please let us know if you need further assistance.


Regards,

Sri Radhesh Nag S




HM Hadayarahman Mohamed Khan Yusuf Syncfusion Team May 15, 2025 10:29 AM UTC

Hi Jon Kao

Regarding the iOS App Crash:

We are glad to announce that our Essential Studio® 2025 Volume 1 Service Pack Release v29.2.4 is rolled out which includes the issue fix and is available for download under the following link.

Essential Studio® 2025 Volume ... | Announcements Forums | Syncfusion®

Root cause: visible dates become empty.

We thank you for your support and appreciate your patience in waiting for this release. Please get in touch with us if you would require any further assistance.

Regards,
Hadaya Rahman M


Marked as answer
Loader.
Up arrow icon