frontend-collective / frontend-collective/react-sortable-tree

Search does not handle collapse

Open
#103 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

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:**
1. Open the Demo https://fritz-c.github.io/react-sortable-tree/
2. Expand All
3. Search for the text: "Nested", and you get a hit on second child of "title"
4. Collapse the first node "`title`" and the hit is moved to "Chicken"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.