frontend-collective / frontend-collective/react-sortable-tree

react-sortable-tree is not used with react-dnd

Open
#312 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

react-sortable-tree is not used with react-dnd

I am having the following problem:
I have 2 tabs
+ tab01 I use react-sortable-tree
+ tab02 I use react-dnd
I'm having trouble switching tabs.
When I moved the tab I got an error: "Can not have two HTML5 backends at the same time."
help me please.

update :
I also use this but not working
/* If it doesn't work with other components that use react-dnd
react-dnd only allows for one DragDropContext at a time (see: https://github.com/gaearon/react-dnd/issues/186). To get around this, you can import the context-less tree component via SortableTreeWithoutDndContext.

// before
import SortableTree from 'react-sortable-tree';

// after
import { SortableTreeWithoutDndContext as SortableTree } from 'react-sortable-tree'; */

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.