这是indexloc提供的服务,不要输入任何密码
Skip to content

After changing the style (theme), when you pin a side bar it will disappear #402

@mladdaga

Description

@mladdaga

After hours of research I found that in LayoutAnchorSideControl, in the LayoutAnchorSideControl_Unloaded method, for some reason, it's removed the collectionChanged handler on the model's children
_model.Children.CollectionChanged -= OnModelChildrenCollectionChanged;
Removing this line from the code everything works fine.
It seems that is the root of a lot of other Issues opened around the load of a different theme.

It's easy to reproduce on the MVVMTestApp

image

image

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions