Repository navigation
DragOverlay: accessing source.data inside the component throws "maximum update depth exceeded" error #2098
MarcociVladAndrei
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Possible bug, I'm not sure. I'm trying to render a drag overlay based on drag source like this:
<DragOverlay dropAnimation={null}> {(source) => ( <Badge> <div>{source.data.label}</div> </Badge> )} </DragOverlay>Which leads to crashing the entire app with the following message logged to the console:
All reactions