react-dropdown-tree-select icon indicating copy to clipboard operation
react-dropdown-tree-select copied to clipboard

openOnSelect after making search-based selection(s) in multiSelect default mode

Open bmm-brobbins opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe. After making selection(s) based on search, then clearing search term, newly selected nodes don't expand. Parent displaying as partiallySelected is the only visible result.

Describe the solution you'd like Proposal for an option to have tree automatically expand nodes that have been newly selected via search.

Describe alternatives you've considered Tried setting .expanded=true on newly selected children and/or their parent node, but it doesn't seem to take.

Additional context Any pointers or code to accomplish this feature in the interim using lib's existing capabilities and/or an HOC would be great.

P.s. Great lib, thank you for publishing it.

bmm-brobbins avatar Jun 29 '22 03:06 bmm-brobbins

Bit of an odd case but setting the expand should have done the trick. Do you mind creating a small reproducible example?

mrchief avatar Jul 06 '22 19:07 mrchief

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.

github-actions[bot] avatar Aug 05 '22 22:08 github-actions[bot]