ArgumentOutOfRangeException in SfCalendar with RangeSelection and Limited Weeks in View

When using the SfCalendar component with SelectionMode set to RangeSelection and the NumberOfWeeksInView property set between 1 and 4, an ArgumentOutOfRangeException occurs if the user swipes down on the screen during selection. This seems to happen consistently when attempting to drag-select dates downward, causing the app to crash.


3 Replies

VM Vidyalakshmi Mani Syncfusion Team November 14, 2024 01:50 PM UTC

Hi Ömer,

  

We have fixed the reported issue from our end. As of now, we have prepared a custom patch (assemblies) including the issue fix and shared it below for your reference. Please check with our patch and let us know whether your issue is resolved.


Before installing the patch, kindly remove bin and obj folders from all the projects of solution and clear NuGet cache: How-to-clear-nuget-cache


Note: When adding custom assemblies, first install the Syncfusion.Xamarin.Core NuGet package. After that, add the Syncfusion.SfCalendar.XForms and Syncfusion.SfCalendar.XForms.Android DLLs. 


Disclaimer:

Please note that the custom patch was created for version 27.1.58 specifically to address this issue. We will include the issue fix in our weekly NuGet release scheduled for November 26, 2024. We will notify you once the release is rolled out. We appreciate your patience until then.


Regards,
Vidyalakshmi M.



Attachment: CustomAssembly_4a3aebbc.zip


VM Vidyalakshmi Mani Syncfusion Team November 27, 2024 11:19 AM UTC

Hi Ömer,


The reported issue has been fixed and is currently in the testing phase, which may take some more time. We plan to include the fix in our upcoming 2024 Volume 4 release, scheduled for the second week of December. We will notify you promptly once it becomes available. Thank you for your patience and understanding.


Regards,

Vidyalakshmi M.




VM Vidyalakshmi Mani Syncfusion Team December 12, 2024 02:40 PM UTC

Hi Ömer,


We are glad to announce that our Essential Studio® 2024 Volume 4 Main Release V28.1.33 has been rolled out and is available for download under the following link.


https://www.syncfusion.com/forums/195512/essential-studio-2024-volume-4-main-release-v28-1-33-is-available-for-download


We are pleased to inform you that the issue where the ArgumentOutOfRangeException occurs if the user swipes down on the screen during selection has been resolved in this release.  


Root Cause: The issue occurred due to an invalid index being accessed when the SelectionMode was set to RangeSelection and the NumberOfWeeksInView was between 1 and 4.


Release Notes: Xamarin/release-notes/v28.1.33?#SfCalendar


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


Regards,

Vidyalakshmi M.



Loader.
Up arrow icon