diff --git a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
index 24e0faf34b..3e0f17a4fb 100644
--- a/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
+++ b/examples/Demo/Shared/Microsoft.FluentUI.AspNetCore.Components.xml
@@ -7020,17 +7020,17 @@
Gets or sets the content to display. All first HTML elements are included in the items flow.
-
-
- Gets True if this component is out of panel.
-
-
Gets or sets if this item dos not participates in overflow logic.
Defaults to false
+
+
+ Gets True if this component is out of panel.
+
+
Gets the InnerText of .
diff --git a/examples/Demo/Shared/Pages/SplashScreen/Examples/CustomSplashScreen.razor b/examples/Demo/Shared/Pages/SplashScreen/Examples/CustomSplashScreen.razor
index 8d48779ff9..107bc46dce 100644
--- a/examples/Demo/Shared/Pages/SplashScreen/Examples/CustomSplashScreen.razor
+++ b/examples/Demo/Shared/Pages/SplashScreen/Examples/CustomSplashScreen.razor
@@ -36,11 +36,12 @@
{
if (firstRender)
{
+
// Simulation of loading process
- await Task.Delay(7000);
+ await Task.Delay(Content.DisplayTime);
// Close the dialog
await Dialog.CloseAsync();
}
}
-}
\ No newline at end of file
+}
diff --git a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
index 1cbeb3f758..98f7625b56 100644
--- a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
+++ b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenCustom.razor.cs
@@ -17,6 +17,7 @@ private async Task OpenSplashCustomAsync()
LoadingText = "Filling the re-useable bottles...",
Message = (MarkupString)"Don't drink too much water!",
Logo = "_content/FluentUI.Demo.Shared/images/Splash_Corporation_logo.png",
+ DisplayTime = 7000
},
Width = "500px",
Height = "300px",
@@ -35,7 +36,7 @@ private async Task OpenSplashCustomAsync()
}
private void OpenSplashCustom()
{
- DemoLogger.WriteLine($"Open custom splashscreen for 7 seconds");
+ DemoLogger.WriteLine($"Open custom splashscreen for 4 seconds");
DialogParameters parameters = new()
{
Content = new()
diff --git a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
index 25ab882b31..57d8be51d3 100644
--- a/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
+++ b/examples/Demo/Shared/Pages/SplashScreen/Examples/DialogSplashScreenDefault.razor.cs
@@ -22,6 +22,7 @@ private async Task OpenSplashDefaultAsync()
Logo = FluentSplashScreen.LOGO,
},
PreventDismissOnOverlayClick = true,
+ Modal = false,
Width = "640px",
Height = "480px",
};
@@ -57,6 +58,7 @@ private void OpenSplashDefault()
},
Width = "640px",
Height = "480px",
+ Modal = true,
};
DialogService.ShowSplashScreen(this, HandleDefaultSplashAsync, parameters);
}
diff --git a/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs b/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
index 34ba085f46..0d7797b1e7 100644
--- a/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
+++ b/src/Core/Components/Dialog/Services/DialogService-SplashScreen.cs
@@ -36,7 +36,7 @@ public void ShowSplashScreen(Type component, object receiver, Func ShowSplashScreenAsync(Type component, object
{
DialogType = DialogType.SplashScreen,
Alignment = HorizontalAlignment.Center,
- Modal = false,
+ Modal = parameters.Modal,
PreventDismissOnOverlayClick = parameters.PreventDismissOnOverlayClick,
ShowDismiss = false,
ShowTitle = false,