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

Cannot update a component (GridContextProvider) while rendering a different component (GridItem) #53

Open
kamdav opened this issue Dec 21, 2021 · 0 comments

Comments

@kamdav
Copy link

kamdav commented Dec 21, 2021

I'm receiving this error when trying to drag from one drop zone to another, but does not seem to be a consistent error.
I have a single static drop zone, and then another that is being rendered multiple times as separate tabs. Only my last drop zone that is being rendered multiple times has a recognised target id (also an issue, but may possibly be related to this error), and then when dragging from the static drop zone to this one is when I receive this error.

Dragging from the static drop zone to one of the multiple rendered drop zones updates a state which is an array of arrays. Each of these arrays holds a number of images, and when updating one of these the entire state gets updated.

Any assistance on this matter would be greatly appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant