dnd-kit
dnd-kit copied to clipboard
Avoid ResizeObserver loop limit exceeded
While listening on window error events ResizeObserver loop limit exceeded
pops up in Chrome while dragging items between different sortable contexts. Not always but from time to time. (In Firefox ResizeObserver loop completed with undelivered notifications.
)
The issue is described here: https://github.com/WICG/resize-observer/issues/38 caused most likely by this hook: useResizeObserver
A solution would be a requestAnimationFrame
wrapper (see https://github.com/airbnb/visx/pull/335)
Using versions
@dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
I've started to get this issue also,
Is there any work around?
In debug we get this message popping up all the time
Hi, same here.
@dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
@dnd-kit/[email protected]
I just started experiencing the same issue, with a nested SortableContexts. Any workaround for this?
Hello, same here "@dnd-kit/core": "^6.1.0", Happens when i drag components within my drop area. Also it doesnt happend when inspect is opened. ResizeObserver loop completed with undelivered notifications. --> Google Chrome