Open dan-choe opened 5 years ago
The location of highlight on the searched node must be stick to the node when its parent node is collapsed or expand. The highlight is remained in the same position! This is pretty odd.
You can check this bug on the demo. https://frontend-collective.github.io/react-sortable-tree
Other matches get their highlights changed as well:
hack way: 1 . remove itself search class style .rstcustom__rowSearchMatch 2 . searchFinishCallback store the search result in react state
Reporting a Bug?
The location of highlight on the searched node must be stick to the node when its parent node is collapsed or expand. The highlight is remained in the same position! This is pretty odd.
You can check this bug on the demo. https://frontend-collective.github.io/react-sortable-tree