Tooltip: show tooltip only if text is overflowed

1 Answer 255 Views
Tooltip
Evgeniy
Top achievements
Rank 1
Evgeniy asked on 26 Jul 2023, 01:39 PM

Is there a straightforward way to render tooltip only if content was overflown? 

.some-element {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
Thanks

1 Answer, 1 is accepted

Sort by
0
Hetali
Telerik team
answered on 30 Jul 2023, 11:36 PM

Hi Evgeniy,

I will paste the content discussed in the private thread here so the information is publicly available as well.

We do not have a built-in way to show the tooltip for overflowing text only, but I have opened a feature request to add this feature in the Kendo UI Tooltip component. Feel free to follow the request and/or leave any additional comments in the request for our developers. Based on the customer demand, feasibility, etc, the feature will be considered and added to our roadmap.

Regards,
Hetali
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
Tooltip
Asked by
Evgeniy
Top achievements
Rank 1
Answers by
Hetali
Telerik team
Share this question
or