Skip to content

Commit

Permalink
update MudBlazor and enable legacy popover behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
floribe2000 committed Sep 14, 2023
1 parent 62cb16a commit 3099baa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@ public static class ServiceCollectionExtensions
{
public static IServiceCollection UseShipBuilder(this IServiceCollection services)
{
services.AddMudServices(config => { config.SnackbarConfiguration.PositionClass = Defaults.Classes.Position.BottomRight; });
services.AddMudServices(config =>
{
config.SnackbarConfiguration.PositionClass = Defaults.Classes.Position.BottomRight;
config.PopoverOptions.Mode = PopoverMode.Legacy;
});
services.AddSingleton<ILocalizationProvider, LocalizationProvider>();
services.AddSingleton<MetricsService>();
if (OperatingSystem.IsBrowser())
Expand Down
2 changes: 1 addition & 1 deletion WoWsShipBuilder.Common/WoWsShipBuilder.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Components.Web" Version="7.0.5" />
<PackageReference Include="Microsoft.Web.LibraryManager.Build" Version="2.1.175" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
<PackageReference Include="MudBlazor" Version="6.10.0" />
<PackageReference Include="prometheus-net.AspNetCore" Version="8.0.0" />
<PackageReference Include="ReactiveUI.Blazor" Version="18.4.44" />
<PackageReference Include="Roslyn.System.IO.Abstractions.Analyzers" Version="12.2.19">
Expand Down
2 changes: 1 addition & 1 deletion WoWsShipBuilder.Web/WoWsShipBuilder.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<PackageReference Include="NLog.Web.AspNetCore" Version="5.2.3" />
<PackageReference Include="prometheus-net.AspNetCore" Version="8.0.0" />
<PackageReference Include="ReactiveUI.Blazor" Version="18.4.44" />
<PackageReference Include="MudBlazor" Version="6.9.0" />
<PackageReference Include="MudBlazor" Version="6.10.0" />
<PackageReference Include="Sentry.NLog" Version="3.33.0" />
<PackageReference Include="Nerdbank.GitVersioning" PrivateAssets="all" Version="3.6.132" />
</ItemGroup>
Expand Down

0 comments on commit 3099baa

Please sign in to comment.