Skip to content

MergeViewConfiguration issue #220

@HarvieKrumpet

Description

@HarvieKrumpet

Using MergeViewConfiguration(UnifiedMergeConfig) and setting the 'Original' works in a simple single instance setup.
but if I have multiple TabPanels of BlazorCodeMirror6 instances (each pointing to a fresh instance of UnifiedMergeConfig with original text set to a 'copy' of the original text)
it will work fine until I dispose of one of the instances. it appears that the other instances seem to pickup the UnifiedMergeConfig from the disposed instance as the merge view has fragments of the old disposed original content. no crashes, or warnings from the remaining instances.
It almost seems that the UnifiedMergeConfig is a static internally or part of a dictionary that doesn't remove the entry, as it is remembering a disposed UnifiedMergeConfig and applying that to the running instances. when I say disposed, I mean the codemirrorcomponent goes out of scope (such as closing a tabpanel)

everything else seems to work like a charm.

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