How to use tooltip onClick?

3 posts, 0 answers
  1. Serhii
    Serhii avatar
    3 posts
    Member since:
    Dec 2018

    Posted 28 Jan 2019 Link to this post

    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. Stefan
    Admin
    Stefan avatar
    2913 posts

    Posted 29 Jan 2019 Link to this post

    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
  3. Serhii
    Serhii avatar
    3 posts
    Member since:
    Dec 2018

    Posted 30 Jan 2019 in reply to Stefan Link to this post

    Thank you for your answer, I will try popup component.
Back to Top