dgreene1 / react-accessible-treeview

A react component that implements the treeview pattern as described by the WAI-ARIA Authoring Practices.
https://dgreene1.github.io/react-accessible-treeview
MIT License
261 stars 37 forks source link

Feature request: Open new node/closing the other nodes #170

Closed techogdev closed 6 months ago

techogdev commented 8 months ago

Currently, a user can open different nodes in the tree at the same time. Therefore the tree can become very confusing. In some cases it make sense that only one node can be open at a time.

That means, if a second node is opened, all others will be closed.

Hence my feature request Is it possible to close all open nodes in the tree when I open another node?

Benefits for the user The tree doesn't look too big. This is also positive for usability and accessibility.

stale[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 months ago

This issue was closed automatically since it was marked as stale because it has not had recent activity. Thank you for your contributions.