dowjones / react-dropdown-tree-select

Lightweight, accessible, customizable and fast Dropdown Tree Select component for React
https://dowjones.github.io/react-dropdown-tree-select/
MIT License
468 stars 269 forks source link

Again full tree gets drawn after selecting a node in search mode #676

Closed disimhot closed 2 months ago

disimhot commented 3 months ago

Description After selecting a node while in search mode, the entire tree gets drawn.

To Reproduce Use the following props, search for a node in the tree, and select it. Note that if you clearSearchOnChange you won't be able to see the issue. <DropdownTreeSelect data={data} texts={texts} onChange={this.onChange} onNodeToggle={this.onNodeToggle} clearSearchOnChange={false} showPartiallySelected /> Expected behavior The tree structure does not change when nodes are selected.

image

Environment (please complete the following information):

github-actions[bot] commented 2 months ago

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.