react-arborist icon indicating copy to clipboard operation
react-arborist copied to clipboard

working with react pro sidebar

Open nayabshah opened this issue 6 months ago • 1 comments

Hi, i am trying to use react-arborist with react-pro-sidebar where i need this type of approach i am able to nest Submenu component in nested node i newly found this module i don't know much about it please provide hint how can i get this work

Screenshot 2023-12-28 031146 output html should be like this: Screenshot 2023-12-28 031251

nayabshah avatar Dec 27 '23 21:12 nayabshah

I think react-pro-sidebar and react-arborist are two different solutions to the same problem. You might want to just go with one or the other.

React-arborist does not support nesting in the the html. It's "virtualized" so all the html elements are siblings, but the indentation on each is different depending on it's position in the tree.

It doesn't seem like it will work trying to use the <Submenu> component within react-arborist.

jameskerr avatar Dec 28 '23 00:12 jameskerr