You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes I am getting the following error when using react-arborist 3.4.0: "Cannot have two HTML5 backends at the same time".
My project does not have direct dependencies "react-dnd", "dnd-core" and "react-dnd-html5-backend" and I don't have any other libraries depending on these packages(react-arborist is the only library requesting it).
Also I don't use drag&drop functionality in my project at all, but I am using react-arborist trees inside of several react components.
I tried to set disableDrag and disableDrop flags for all of my trees but it did not help.
Is it possible to configure react-arborist to not initialize HTML5 backend when drag&drop functionality is not needed(or at least do not do it twice)?
The text was updated successfully, but these errors were encountered:
Still I am not happy to have direct dependencies "react-dnd" and "react-dnd-html5-backend".
Would prefer react-arborist to handle it by adding DndProvider wrappers internally.
Glad you have a workaround. The next version of react-arborist will depend on react-aria's use-drag/drop hooks rather than the aging react-dnd. These issues should not longer be a problem.
Sometimes I am getting the following error when using react-arborist 3.4.0: "Cannot have two HTML5 backends at the same time".
My project does not have direct dependencies "react-dnd", "dnd-core" and "react-dnd-html5-backend" and I don't have any other libraries depending on these packages(react-arborist is the only library requesting it).
Also I don't use drag&drop functionality in my project at all, but I am using react-arborist trees inside of several react components.
I tried to set disableDrag and disableDrop flags for all of my trees but it did not help.
Is it possible to configure react-arborist to not initialize HTML5 backend when drag&drop functionality is not needed(or at least do not do it twice)?
The text was updated successfully, but these errors were encountered: