Calendar plugin UI not working correctly with asynchronous date values.

1 Answer 145 Views
Calendar DatePicker General Discussions
Ajit
Top achievements
Rank 1
Ajit asked on 27 Sep 2021, 01:57 PM

Hi,

Whenever Calendar value is set after an api call, Calendar plugin will randomly stop working. The value will be set correctly but it wont focus or scroll to the value. it will display some random month.

eg: if the calendar value is set to 09-27-2021 and the calendar plugin displays the UI correctly. soon after if value is changed with new date after an api call the calendar UI will randomly display some other month. 

Do you guys have a fix for it or is it a bug. Please let me know asap.

her is a sample code :  click the change button twice to see the issue. i had used set timeout to replicate an API call.

https://stackblitz.com/edit/react-owrx8z?file=app/main.jsx

 

Thanks

 

1 Answer, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 28 Sep 2021, 09:12 AM

Hello, Ajit,

Thank you for reporting this.

I can confirm that this is an issue with the current version of the KendoReact Calendar.

I have logged this for fixing, and the status can be monitored here:

https://github.com/telerik/kendo-react/issues/1092

Currently, there is no workaround available, if one is found it will be added to the issue.

Additionally, I have added Telerik points to your account for bringing this to our attention.

Apologies for the inconvenience this may have caused you.

Regards,
Stefan
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Ajit
Top achievements
Rank 1
commented on 30 Sep 2021, 03:32 PM

Thanks Stefan for that prompt reply !! much appreciated.

Can you let me know the ETA it will take to release this fix or new version, so that I can plan my release accordingly.

 

thanks

Stefan
Telerik team
commented on 01 Oct 2021, 05:51 AM

Hello, Ajit,

The ETA can vary based on the time it takes to finish the tasks that are already planned and the complexity of the issue.

We will share any progress directly in the GitHub issue.

Tags
Calendar DatePicker General Discussions
Asked by
Ajit
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Share this question
or