Cannot update a component (`GridContextProvider`) while rendering a different component (`GridItem`)
kamdav opened this issue · 0 comments
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!