Skip to content

Collapse state lost via spouse toggles #176

@danielprosser1

Description

@danielprosser1

Hello,

As you can see in this amended demo...

https://code.balkan.app/sibling-collapse-state-lost#JS

If you expand the "Yuliya Nikitina" side of the tree, she has a sibling Frank. If you collapse his children with the little heart icon it works nicely. But if you navigate back to the the "Yermolai Vasiliev" side of the tree (i.e. the husband of Yuliya) which removes Frank's side of the family, and then navigate back to Yuliya's side again, the collapse state has been lost (i.e. Frank's kids are showing again).

Isn't there some way to ensure these collapse states persist despite navigating to/from different lines? It might seem trivial but in large trees it can get quite annoying to have to repetitively reapply the collapses you want just because you browsed away down a different spouse-line for a second.

Thanks for any thoughts!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions