Set MudBlazor tooltip duration to zero to resolve issue with tooltips

This commit is contained in:
Thorsten Sommer 2025-04-04 17:44:09 +02:00
parent f97612de0e
commit f356d997c3
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -117,6 +117,9 @@ public partial class MainLayout : LayoutComponentBase, IMessageBusReceiver, IDis
if(this.SettingsManager.ConfigurationData.App.NavigationBehavior is NavBehavior.ALWAYS_EXPAND) if(this.SettingsManager.ConfigurationData.App.NavigationBehavior is NavBehavior.ALWAYS_EXPAND)
this.navBarOpen = true; this.navBarOpen = true;
// Solve issue https://github.com/MudBlazor/MudBlazor/issues/11133:
MudGlobal.TooltipDefaults.Duration = TimeSpan.Zero;
await this.themeProvider.WatchSystemPreference(this.SystemeThemeChanged); await this.themeProvider.WatchSystemPreference(this.SystemeThemeChanged);
await this.UpdateThemeConfiguration(); await this.UpdateThemeConfiguration();
this.LoadNavItems(); this.LoadNavItems();