Scheduler Component: "Maximum update depth exceeded" error when multiple events with same start time

1 Answer 28 Views
Scheduler
Andrew
Top achievements
Rank 1
Andrew asked on 19 Mar 2024, 03:46 PM | edited on 19 Mar 2024, 03:48 PM

So when I was implementing Scheduler I got following error when trying to change events using drag & drop functionality. Take into accounnt that it happens only with events which have same start date

Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render.

You can check the issue here. https://stackblitz.com/edit/react-a2zwzm To reproduce it just move several today's events into another day square. You will get a lot of messages in console.

1 Answer, 1 is accepted

Sort by
1
Konstantin Dikov
Telerik team
answered on 21 Mar 2024, 11:05 AM

Hello Andrew,

I was able to observe the issue in question with the example that you have shared, so I logged an issue in our public repository where you can follow its progress:

Please excuse us for any inconvenience caused by this and if further assistance is needed, feel free to contact us again.

 

Regards,
Konstantin Dikov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources!

Tags
Scheduler
Asked by
Andrew
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or