dowjones/react-dropdown-tree-select

Nodes expanded state are not updated when search

baranseldinc opened this issue · 1 comments

Hi,

As I mentioned in the issue title, when we type something into the input field, the tree correctly displays results as a tree if keepTreeOnSearch is set to true.

However, the problem is that the parents of the resulting nodes don't appear as expanded. Upon inspection, I noticed that their expanded states still appear collapsed instead of expanded.

I'm not sure if this is a bug or if there's something missing for me to do.

You can see in the screenshot below that the expanded state of the first depth node still appears as false, even though it's expanded because it has a matching part with the input.

image

Thank you for your support.

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