Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ protected override void OnInitialized()
{
try
{
// There is a bug in FluentDialogProvider that causes it to error if used immediately because it's still loading its own JavaScript.
// Wait a small amount of time for it to get ready. Add the delay here because it only impacts displaying dialogs. Still want to display message bars immediately.
//
// TODO: Remove when https://github.com/microsoft/fluentui-blazor/issues/4311 is fixed.
await Task.Delay(TimeSpan.FromSeconds(2));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm not sure about this one. When do we think we can have the issue in fluentui-blazor fixed?

Copy link
Member

@JamesNK JamesNK Nov 24, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fixed it in FluentUI. But there is no release with it out. I didn’t push for a release because we have this work around


await InteractionsDisplayAsync().ConfigureAwait(false);
}
catch (Exception ex) when (!_cts.IsCancellationRequested)
Expand Down
Loading