Infinite Scroll with dnd-kit sortable
Anyone here implemented an infinite scroll container with
@dnd-kit/sortable
? Trying to get the styling right on the draggable element, but the virtual styling seems to clash with the sortable styling when trying to drag an element.1 Reply
flat-fuchsiaOP•15mo ago
For anyone who may be searching for this, the
transform
to the list was the core issue. @dnd-kit
ignores the transform
of a node when calculating it's changes. Since I was using a vertical list, I just set start
instead, and that corrected the issue for me.