Skip to content

Search does not handle collapse #103

Open
@ekvalheim

Description

@ekvalheim

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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions