vikramlearning / blazorbootstrap

An Enterprise-class Blazor Bootstrap Component library built on the Blazor and Bootstrap CSS frameworks.
https://docs.blazorbootstrap.com/
Apache License 2.0
734 stars 38 forks source link

Tooltip problem continues #327

Closed LucaCris closed 1 year ago

LucaCris commented 1 year ago

1.10.0, WASM.

If a button has a tooltip, and pressing it the page content changes (making button disappear), the tooltip remains stucked. Also many times!

Screenshot 2023-08-21 160502

gvreddy04 commented 1 year ago

@LucaCris There is a known issue when an <a> tag is placed inside a tooltip. Can you share the sample code or GitHub repository you are using in your scenario?

Also provide the following details:

Sever/WebAssembly/Hybrid: .NET Version: BlazorBootstrap Version:

LucaCris commented 1 year ago

Check the second Button, with tooltip:

        <GridColumn TItem="Entity" HeaderText="Edit">
            <Button @onclick="()=>OnEdit(context)" Size="Size.Small"><Icon Name="IconName.PencilSquare" /></Button>
            <Button @onclick="()=>OnEditList(context)" Size="Size.Small" TooltipTitle="test"><Icon Name="IconName.ListOl" /></Button>
            <Button @onclick="()=>OnEditForm(context)" Size="Size.Small"><Icon Name="IconName.InputCursorText" /></Button>
        </GridColumn>

The OnEditList() will remove actual grid and another one will be displayed, but the tooltip from firing button remains forever.

I'm using latest version of ALL, WASM project.

MarvinKlein1508 commented 1 year ago

@gvreddy04 I've created a small repository which showcases this issue. The issue happens on all three buttons in Index.razor

https://github.com/MarvinKlein1508/TooltipDemo

MarvinKlein1508 commented 1 year ago

grafik

MarvinKlein1508 commented 1 year ago

@gvreddy04 any update on this? This bug is really annoying.