I need to make a tooltip more accessible.
---
ADMIN EDIT
The first thing you can do is use the aria-describedby on the tooltip targets and use its value in the tooltip Id parameter to help screen readers. It is up to the screen reader to detect the change in the DOM and read out the new content.
This item is to add attributes to the tooltip such as role="tooltip", aria-live="polite", role="presentation", aria-hidden="false". The exact attributes will depend on more detailed research and may differ from what I have listed here.
---
There's no way for me to specify a tooltip with both Hover and Click support.
I would like my tooltip to work for both desktop and mobile. Is there any way to do this?
This is what I'm doing now:
<TelerikTooltip ShowOn="@TooltipShowEvent.Click" TargetSelector="@("#val" + FieldName)" />
Here's what I'm looking to do:
<TelerikTooltip ShowOn="@TooltipShowEvent.Both" TargetSelector="@("#val" + FieldName)" />
---
ADMIN EDIT
This feature most probably will introduce a breaking change.
You can workaround this with using multiple TelerikTooltip declarations.
Check the attached file to see a sample implementation.
---
1. Place two spans with titles right next to each other.
2. Add Telerik Tooltip with target span[title]
3. Hover over first span -> Tooltip is displayed correctly
4. Move Mouse Cursor from first span to second span -> Tooltip of second span is displayed twice: Once at correct position and once at top left of screen.
I have a div which has a couple of buttons contained within it on the lower left corner. I have a TelerikTooltip with the target selector pointed to my div. Most of the time the tooltip works fine but I have found that if I move the mouse onto the div from the lower left corner where the buttons are, the TelerikTooltip shows up correctly while the mouse is over the buttons but when I move the mouse farther into the div and away from the buttons the TelerikTooltip gets hidden and a default tooltip is displayed.
It behaves this way whether I use a title on the div or a template on the TelerikTooltip.
Hi !
After upgrading to the lastest version (6.1.0) we have an issue with the tootip.
The small arrow that points towards the elements that have the title attribute is not showing where it should (the arrow stays centered).
Here is an example:
</style>
Regards,
Maxime
When a position is specified the tooltip is rendered initially aside from the target element before displaying at the correct position
Reproduction: https://blazorrepl.telerik.com/wnaUkrFc04umFPWr03Team,
Currently I am using Telerik UI Blazor with 3.7.0 version, few cases and intermittently TooltipShowEvent.Click is not working and tooltip is not getting displayed and unable to find root cause for it.
Could you please assist what is causing for this behaviour and feasible solution?
Below is sample code snippet where we use 3 tabs
<TelerikTabStrip Class="tmGraphTabStrip" ActiveTabIndex="@ActiveTab" ActiveTabIndexChanged="@ActiveTabChanged" @ref="@TabRef">
@for (var i = 0; i < 4; i++)
{
<TabStripTab Title="@TabName" Class="tmTabHeaderCellStyle">
<TelerikGridLayout RowSpacing="20px" ColumnSpacing="1px" Class="grid-CardlayoutNew">
@*
display data in gridlayout structure for each row/column along with tooltip, we are able to see div selector and target selector Ids from Dev Tools browser
*@
</TelerikGridLayout>
</TabStripTab>
}
</TelerikTabStrip>
Ex:
<TelerikTooltip TargetSelector="@ToolTipCurselector" ShowOn="@TooltipShowEvent.Click" Position="TooltipPosition.Top">
</TelerikTooltip>
Hover the mouse several times in a row at element c on the demo stand. OS Windows 10, Browsers: Chrome Version 87.0.4280.141 (Official Build) (64-bit) + Firefox Developer 85.0b9 (64-bit).
Tell me why the component periodically has 2 tooltips? This anomaly is also observed on your demo stand.
When I have some dynamic content inside the tooltip template, the tooltip seems not to be re-rendering. E.g. when I have a tooltip with a text input and button and wish to disable the button when no text is entered, the tooltip seems to be only refreshing after closing and re-opening it. Simplified example:
<TelerikTooltip TargetSelector=".search-tooltip" Position="TooltipPosition.Bottom" ShowOn="TooltipShowEvent.Click">
<Template>
<TelerikTextBox @bind-Value="@SearchText"></TelerikTextBox>
<TelerikButton OnClick="@Search" Enabled="@(!string.IsNullOrEmpty(SearchText))">Search</TelerikButton>
</Template>
</TelerikTooltip>
Even tried using the ValueChanged event of the TelerikTextBox and calling the StateHasChanged() method but had the same result (the enabled/disabled state of button only changed after closing&re-opening the tooltip).
I would expect the binding and re-rendering to work as normally in Blazor. Is there a way to manually 'call refresh' on the tooltip?