Avoid kendo tooltip from going outside the viewport of browser

2 posts, 0 answers
  1. Dhiraj
    Dhiraj avatar
    1 posts
    Member since:
    Feb 2016

    Posted 06 Jul 2016 Link to this post

    When my html control is at top most , right most ,left most or bottom most of the screen then my tooltip goes out side the browser view port.
    is there any way by which I can set position property of tooltip at runtime onshow or contentload event. so as to keep tooltip in side the browser viewport
  2. Dimiter Topalov
    Dimiter Topalov avatar
    1298 posts

    Posted 07 Jul 2016 Link to this post

    Hello Dhiraj,

    The desired functionality is not provided out-of-the-box, but you can handle the show event, and perform some custom logic to get the tooltip position and dimensions, and adjust them as necessary via jQuery methods, e.g.:


    I hope this helps.

    Dimiter Topalov
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top