This is a migrated thread and some comments may be shown as answers.

How to use tooltip onClick?

2 Answers 738 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Serhii
Top achievements
Rank 1
Serhii asked on 28 Jan 2019, 09:44 AM
Hi, I have a quastion about Kendo Reat Tooltip component. 
In my situation, I need show tooltip on click. But default functionality works only on hover.
How can I show my tooltip on click?

I found functionality that I need in jquery version, I need something like that, I give you a link, maybe it is can help you with answer.
https://docs.telerik.com/kendo-ui/api/javascript/ui/tooltip/configuration/showon

2 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 29 Jan 2019, 08:13 AM
Hello, Serhii,

The Tooltip was designed to follow the browser Tooltip behavior which is on mouseover. With the addition of styling, template, and positioning.

If the information has to be shown on click, we suggest using the Popup component. Our main idea was to not mix both components by giving them similar functionality:

https://www.telerik.com/kendo-react-ui/components/popup/

If there is a use case where the Popup is not a valid option to open on click and the Tooltip will be a better fit, please let us know and we will make this as a feature of the Tooltip.

Regards,
Stefan
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Serhii
Top achievements
Rank 1
answered on 30 Jan 2019, 10:02 AM
Thank you for your answer, I will try popup component.
Tags
Wrappers for React
Asked by
Serhii
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Serhii
Top achievements
Rank 1
Share this question
or