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

Tooltip Animation not working

1 Answer 154 Views
ToolTip
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 02 Sep 2015, 08:47 PM

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");
        },

1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 04 Sep 2015, 02:04 PM
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!
 
Tags
ToolTip
Asked by
Tony
Top achievements
Rank 1
Answers by
Dimo
Telerik team
Share this question
or