Skip to content
Discussion options

You must be logged in to vote

@BrensNina I can't reproduce the problem you are describing. Could this be a problem with how you are consuming this library?
I have created a repo which showcases your needs:

  1. Fully open the dialog
  2. Then start loading data asychronously
    https://github.com/user-attachments/assets/9cbbea1e-b20a-4a7b-97af-b2ce7f8b5f20

https://github.com/corvinsz/LoadDataOnDialogHostOpeningExample

LoadDataOnDialogHostOpeningExample is your approach.
LoadDataOnDialogHostOpeningExample2 is my alternative approach described below.

Alternative approach

While your approach works, you are forced to define an async void method, which - as you might know - is not best practice.
I commonly just bind the loaded event …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@BrensNina
Comment options

@corvinsz
Comment options

corvinsz Jan 7, 2026
Collaborator

@BrensNina
Comment options

Answer selected by BrensNina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants