Shaddix/dnd-kit-sortable-tree

Item drag overlay has wierd behaviour on touch device.

Opened this issue · 0 comments

vferak commented

Hi,

thanks for this library, it's really nice.

However, i've found an issue when sorting items on any touch device (even in Chrome DevTools in touch mode). The item drag overlay shows up, but it's not stuck to the finger. You need to touch and drag the overlay for the second time for it to work.

I would expect that the overlay should stick to the finger on the first drag motion.

It's reproducible in your storybook example ().

And here is an image of the stuck overlay i'm talking about:
image

Thanks for any advance on this.