Closed LucaCris closed 1 year ago
@LucaCris Button
itself supports tooltip. You no need to wrap Button
inside the Tooltip
.
<Button Color="ButtonColor.Primary" TooltipTitle="Tooltip text" TooltipPlacement="TooltipPlacement.Top"> Tooltip Top </Button>
<Button Color="ButtonColor.Primary" TooltipTitle="Tooltip text" TooltipPlacement="TooltipPlacement.Right"> Tooltip Right </Button>
<Button Color="ButtonColor.Primary" TooltipTitle="Tooltip text" TooltipPlacement="TooltipPlacement.Bottom"> Tooltip Bottom </Button>
<Button Color="ButtonColor.Primary" TooltipTitle="Tooltip text" TooltipPlacement="TooltipPlacement.Left"> Tooltip Left </Button>`
Link: https://demos.blazorbootstrap.com/buttons#show-tooltip
I confirm it doesn't work either...
<Button Color="ButtonColor.Primary" @onclick="OnRefresh" TooltipTitle="Tooltip text" TooltipPlacement="TooltipPlacement.Top"><Icon Name="IconName.ArrowClockwise" /></Button>
@LucaCris This is fixed part of Button TooltipTitle does not disappear when clicked #222. Will be released with v1.8.2.
This is fixed part of #222.
Surround a button with a tooltip:
The tooltip appears, but if the button action fire up a content redraw, the tooltip remain stucked on page (until click somewhere else).
Severity: can't use tooltip in such buttons.