Calendar error on mobile when changing orientation
When changing device orientation, I get an error on the calendar in file: calendar_view.dart on line 1410, as you can see below.
Kind regards,
Cris
SIGN IN To post a reply.
6 Replies
IR
Indumathi Ravichandran
Syncfusion Team
July 5, 2021 08:51 AM UTC
Hi Cristinel,
Thank you for contacting Syncfusion support.
Based on the provided information, we have checked the mentioned issue “Error occurred when orientation changed in calendar” with all calendar views there is no exception from our end, working fine as expected. We have attached the tested orientation for the same. Please find the tested orientation for the same.
|
@override void initState() { super.initState(); SystemChrome.setPreferredOrientations([ DeviceOrientation.landscapeRight, DeviceOrientation.landscapeLeft, DeviceOrientation.portraitUp, DeviceOrientation.portraitDown, ]); } |
Please find the tested details,
· Calendar version - 19.2.24
· Device: Mi A1
If possible, can you please share the below details to us, it would be helpful for analyze and provide you a solution at the earliest.
· Issue replication procedure
· Code snippet
· Issue reproducing video
· Tested device
Regards,
Indumathi R
CN
Cristinel Negoianu
July 6, 2021 08:17 AM UTC
Hi.
Thanks for looking into this.
I figured out that the problem occurs when changing the number of calendars displayed when changing the orientation.
What I do in my application is display 1 calendar when in portrait mode and multiple in landscape.
I've created a little application that reproduces it.
Please find it attached.
Kind regards,
Cris
Attachment: calendarorientationbug_f22850f5.zip
IR
Indumathi Ravichandran
Syncfusion Team
July 7, 2021 09:11 AM UTC
Hi Cristinel,
Thank you for the update.
Based on the provided code snippet we have checked the issue ““Error occurred when orientation changed in calendar” and we have already found and fixed the issue. We will include the issue fix in our upcoming Weekly nuget release, which is expected to rollout by July 13, 2021 and let you know once the release rolled out. We appreciate your patience until then.
Regards,
Indumathi R
CN
Cristinel Negoianu
July 7, 2021 09:51 AM UTC
That's great. Thanks,
IR
Indumathi Ravichandran
Syncfusion Team
July 8, 2021 04:49 AM UTC
Hi Cristinel,
Thank you for the update. We will let you know once the Weekly Nuget release rolled out. We appreciate your patience until then.
Regards,
Indumathi R
IR
Indumathi Ravichandran
Syncfusion Team
July 13, 2021 08:57 AM UTC
Hi Cristinel,
Thank you for your patience.
We have included the issue fix for “Error occurred when orientation changed in calendar” in our latest Weekly Nuget package version 19.2.47. Kindly update to the latest version for resolving this issue. Please find the latest version from the following link.
Latest version: https://pub.dev/packages/syncfusion_flutter_calendar/versions
We hope that this helps you. Please let us know if you need further assistance.
Regards,
Indumathi R
SIGN IN To post a reply.
- 6 Replies
- 2 Participants
-
CN Cristinel Negoianu
- Jul 3, 2021 10:54 AM UTC
- Jul 13, 2021 08:57 AM UTC