storybook-eol / react-treebeard

React Tree View Component. Data-Driven, Fast, Efficient and Customisable.
http://storybooks.github.io/react-treebeard
MIT License
1.69k stars 294 forks source link

Current example app is not working properly #223

Closed metehansenol closed 5 years ago

metehansenol commented 5 years ago

Hi Everyone,

First of all it's a great treeview implementation and I liked it a lot, but I realized there are a few problems in current source.

I tried current example app codes into a new react app and I noticed that active statutes of items and animations are doesn't work properly.

Then I cloned "react-treebeard" repo and built and run example app from original sources, but it's still doesn't work properly.

onToggle event that shows at readme file is wrong, I guess that's known issue but there are also any other problems like below;

I think above issues occurs due to react or any other npm package version mismatch.

Any other one faced that problems ?

maximilianoforlenza commented 5 years ago

hi @metehansenol https://codesandbox.io/s/treebeard-active-broke-lrkhb this is an example, how you should can close other tree when open new tree.

metehansenol commented 5 years ago

Thank you for your quick response @maximilianoforlenza. It helped me. But anyway I noticed animations doesn't work when you have no item ids.