Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug][Scheduler] Moving items throws "Maximum update depth exceeded" error. #2120

Open
kdikov82 opened this issue Mar 21, 2024 · 1 comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Scheduler SEV: Critical

Comments

@kdikov82
Copy link
Contributor

I'm submitting a...

  • Bug report

Current behavior

In certain cases, dragging event from one slot to another is thrown an error:
"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."

Expected behavior

No errors should be thrown

Minimal reproduction of the problem with instructions

Open the following example and try start dragging from the Today's slot to the next one:

Package versions:
7.3.0

@kdikov82 kdikov82 added Bug Item which indicates that something is not working pkg:Scheduler SEV: Medium KendoReact labels Mar 21, 2024
@kdikov82
Copy link
Contributor Author

kdikov82 commented Apr 8, 2024

The same error with additional flickering and infinite update of the items can be observed in the attached video in the ticket with ID: 1647609
(moving item from a row slot with multiple items to a slot with one item).
Changing the severity to critical

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Item which indicates that something is not working KendoReact pkg:Scheduler SEV: Critical
Projects
None yet
Development

No branches or pull requests

1 participant