react-sortable-tree icon indicating copy to clipboard operation
react-sortable-tree copied to clipboard

Expected targetIds to be registered

Open Nico142 opened this issue 3 years ago • 4 comments

With the current version of the sortable tree I get this error message: Expected targetIds to be registered. when sorting items to the bottom (see the attached gif for the use case). I found a similar issue in the "old" react-sortable-tree project here and it seems like this issue only occurs in dev mode. Is there a way to solve this issue? My current workaround is using react-dnd in version 13 instead of 14 but I don't think this will work forever.

Here is my Codesandbox setup.

Bildschirmaufnahme 2022-03-30 um 10 56 00

Nico142 avatar Mar 30 '22 09:03 Nico142

Hi! I know about that issue and planing to upgrade to react-dnd v15. I think, this issue also should be fixed in the new version of react-dnd. But I'm not sure when I can do it actually. I'm too busy and maybe I can start working on it in end of April or May. If someone has the same issue and s/he want help with this - PR is always welcome.

nosferatu500 avatar Mar 30 '22 21:03 nosferatu500

@nosferatu500 I'm facing similar issue. I can help you migrate if you can guide me with what should be done here to fix it.

devcer avatar Jun 30 '23 09:06 devcer

https://github.com/react-dnd/react-dnd/pull/3432 this maybe helps, and according to npmjs, this has been fixed only since 16.0.1 (the latest version for now)

shawtung avatar Aug 07 '23 03:08 shawtung

Чтобы обновиться до 16 версии нужно переписать все на хуки. Это в планах: link

nosferatu500 avatar Aug 08 '23 08:08 nosferatu500