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
670 stars 32 forks source link

Tooltip does not disappear #213

Closed Hunv closed 1 year ago

Hunv commented 1 year ago

When using the tooltip like this and the Icon was clicked to follow the link, the tooltip stays even on the new page.

<Tooltip Title="MyTitle" Placement="TooltipPlacement.Bottom"><a href="/mysubpage"><Icon Name="IconName.PlusSquare" Size="IconSize.x2" /></a></Tooltip>

image

Only refreshing the page with F5 removes the tooltip.

drewcav96 commented 1 year ago

As far as I can tell using version 1.8.1, this issue still exists for the Button component when using the TooltipTitle parameter.

Should I instead wrap the Button in a Tooltip component?

gvreddy04 commented 1 year ago

@drewcav96 There is no need to put button inside the Tooltip. But itself supports tooltip.

https://demos.blazorbootstrap.com/buttons#show-tooltip

gvreddy04 commented 1 year ago

@drewcav96 Please share a sample GitHub project to reproduce the issue and create a new issue.