Skip to content

[Issue] Delete and compatibility issues with the Show method of IDialogService #231

@Coolkeke

Description

@Coolkeke

Why is there only ShowDialog in IDialogService in Prism. Avalonia, and why not keep the original Show method at the same time?
If considering multithreading, the Show method should not be removed. In Windows, there is a concept of information loop, and ShowDialog can achieve modal effects while blocking business code without blocking UI threads.
The ShowDialog in Prism. Avalonia currently does not meet the above requirements. In reality, what we see is still an asynchronous effect and the modal effect cannot block business code, which is not very ideal.
Have you considered compatibility optimization in the future

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions