Open
Description
When you collapse the parent of a hit from the search (marked with red border), the marked hit of the search is moved to another node which does not match the search.
Example:
- Open the Demo https://fritz-c.github.io/react-sortable-tree/
- Expand All
- Search for the text: "Nested", and you get a hit on second child of "title"
- Collapse the first node "
title
" and the hit is moved to "Chicken"