Closed jmaster92 closed 1 year ago
@jmaster92 Can you share the sample code or project?
Please share the below details:
@jmaster92 Can you share the sample code or project?
Please share the below details:
* .NET Version * WebAssembly/Server * BlazorBootstrap Version * Bootstrap Version
Shure, Net Version: 7.0 Blazor WebAssembly BlazorBootstrap Version: 1.4.3 Bootstrap Version: v5.3.0-alpha1 (maybe this is the error?)
both elements in the following code throws error
@page "/myMainRoute"
@inject NavigationManager Navigation
<div class="row">
<Tooltip Title="Tooltip Left" Placement="TooltipPlacement.Left" @onclick="@(()=>{ Navigation.NavigateTo("MyMainRoute/AnotherRoute"); })">Tooltip Left</Tooltip>
</div>
<div class="row">
<NavLink href="MyMainRoute/AnotherRoute">
<Tooltip Title="Tooltip Left" Placement="TooltipPlacement.Left">Tooltip Left</Tooltip>
</NavLink>
</div>
when any of both is clicked, the screen render another component and the Tooltip label appears on top of the screen (instead of hide it) an blazor throws error described previously
@jmaster92 I'm not able to replicate the issue with the sample code provided. Can you share a sample project with minimal code to reproduce the issue?
@jmaster92 We are assuming that your issue is being resolved. For any issues, please open a new one.
When I lay Tooltip in any component like NavLink or add the "onclick" attribute to the Tooltip like
@onclick=@( ()=> { Navigation.NavigateTo("component"); })
. Tooltips not hide and browsers launch the following error in console: "Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100] Unhandled exception rendering component: Could not find 'window.blazorBootstrap.tooltip.dispose' ('dispose' was undefined). findFunction/<@http://localhost:5226/_framework/blazor.webassembly.js:1:328"