Tooltip Animation not working

2 posts, 0 answers
  1. George
    George avatar
    49 posts
    Member since:
    Apr 2014

    Posted 02 Sep 2015 Link to this post

    Hello,

     I am using the kendo tool tip widget inside a kendo observable object. For whatever reason, setting the position and opacity seems to work as expected. However, adding an animation or delay does not seem to work. Below is a snippet of my code:

    ViewModel = new kendo.data.ObservableObject({
          reloadTooltips: function () {
                var reloadTooltip = function(tooltipSelector, templateSelector) {
                    $(tooltipSelector).kendoTooltip({
                        content: kendo.template($(templateSelector).html()),
                        position: "top",
                        width: "300px"
                    });
                }
     
                var reloadAuthTooltip = function (tooltipSelector, templateSelector) {
                    $(tooltipSelector).kendoTooltip({
                        content: kendo.template($(templateSelector).html()),
                        position: "top",
                        width: "350px",
                    });
                }
     
                reloadTooltip(".authorized", "#authorizedTemplate");
                reloadAuthTooltip(".nonauthorized", "#nonAuthorizedTemplate");
                reloadTooltip(".nonauthorizedquestion", "#nonAuthorizedQuestion");
            },

  2. Dimo
    Admin
    Dimo avatar
    8333 posts

    Posted 04 Sep 2015 Link to this post

    Hello George,

    It is not clear how and when you are trying to set animation or showAfter, however, I suspect that the current implementation allows the Tooltip widgets to be initialized multiple times, which is incorrect and leads to undesired side effects. Please verify.

    http://docs.telerik.com/kendo-ui/basics/jquery-initialization#duplicate-kendo-ui-widget-initialization

    Regards,
    Dimo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top