Skip to content

Collapsed subcategory length persists over category change #12

Description

@Rodg88

A bit of an edge case, and unlikely to occur in stock setups. But collapsing a subcategory in one main category tab, then changing main category to one that also includes the same subcategory, and then expanding the collapsed subcategory again, any subcategories below the previously collapsed one will move down to a position correct for the subcategory size from the previous main category. If there are a different amount of parts in the subcategory in the two different main categories, this will cause part icon overlap, or excess blank space.

Collapsing and re-expanding the subcategory will reset it to the correct length.

Keeping collapsed state stored per main category would probably avoid the problem and may be a nice feature in itself? So collapsing a subcategory in one category wouldn't collapse it in any other categories it appears in.

A video might make more sense:

KSP_x64_3efHS7Mg04.mp4

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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