Radzen Dialog Rendering twice?

Hi,
I have used Dialogs throughout my project and they all are working as expected, a part from one. This one seems to call the OninitalisedAsync twice. Meaning I get the dialog with a ghosted dialog towards the left hand side. As I said no other dialogs do this in the project only this one.

I am using Blazor WebAssemebly,

  • although just checking this is the only dialog that needs an oninitalisedasync, this gets my data from an api for the dialog.
  • tried on OnFirstRender this also runs twice before setting its first render bool to false. Im really confused now!

Have you included <RadzenDialog /> in the Main Layout? Doing so is making the dialog to render twice

4 Likes