iannbing / iannbing/react-simple-tree-menu

Question: Once a search item is found, how to display and open its children nodes?

Open
#112 1 comment 1 reaction 0 assignees View on GitHub
discussion enhancement
Dominant language
TypeScript
Stars
138
Forks
44
PR merge metrics
No merged PRs in 30d

Description

Hello! Thank you for this great library! Really appreciate your effort in saving so much time for so many people!

Let me ask my question with an example:

Let's suppose I have below structure:

> Grand Parent
>> Parent
>>> Children
>>> Children0.5

> Grand Parent 1
>> Parent 1
>>> Children 1.1
>>> Children 1.2

If I search for "Parent 1", currently it will only show "Parent 1". What I am looking, if possible, is "Parent 1" to show but at the same time "Children 1" opens as well...or clicking on "Parent 1" opens its children.

Similarly, if I search for "Grand Parent 1", it should allow to display "Parent 1" and "Children 1.1" and "Children 1.2".

Would this be possible?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.