Sastra Manurung

Results 6 comments of Sastra Manurung

Any update? It seems there is no activity for this repository for weeks. Is this still maintained?

@zli-aa, we did. We wrap it in top level component. But **dragDropManager** always undefined and it makes RST renders **null**. https://github.com/frontend-collective/react-sortable-tree/blob/2a5f741d0bc965b47a8ea6764e98a13aa3e51544/src/react-sortable-tree.js#L944

I've tested using Storybook example [Drag from external source](https://github.com/fritz-c/react-sortable-tree/blob/master/examples/storybooks/external-node.js) to prevent drop Baby Rabbit into Papa Rabbit, then shows message why it is prevented. ```javascript class UnwrappedApp extends Component {...

@wuweiweiwu we would like to help, but don't know where to start, what piece of code need to modify. Perhaps you can point it to us.

Hi @wuweiweiwu, in this case, I didn't see the line as the problem. I found the line https://github.com/frontend-collective/react-sortable-tree/blob/master/src/utils/dnd-manager.js#L252 which calls `canDrop` inside `canDrop` prop. ```` function nodeDropTargetPropInjection(connect, monitor) { const...

Hello @wuweiweiwu. Any update with this issue? Thanks.