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

Sometimes getting element is null error

1 Answer 55 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Marcin
Top achievements
Rank 1
Veteran
Marcin asked on 10 Oct 2014, 09:29 AM
Hello
I'm using kendo v2014.2.716

And when drilling up and down in kendo charts sometimes I have this error in console and break in Visual Studio.

It is related to hiding chart tooltips and breaks on function (line 101427):

_hideElement: function() {
            this.element.fadeOut({
                always: function(){
                    $(this).off(MOUSELEAVE_NS).remove();
                }
            });
        },

which is called from function (line 101389):

  hide: function() {
            var tooltip = this;

            clearTimeout(tooltip.showTimeout);
            tooltip._hideElement();

            if (tooltip.visible) {
                tooltip.point = null;
                tooltip.visible = false;
                tooltip.index = null;
            }
        },

end error I have is:

TypeError: this.element is null

Best Regards
Marcin



1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 13 Oct 2014, 08:20 AM
Hello,

This is a known issue that has been fixed in the latest official release (2014'Q2 SP2).
There's no patch for earlier versions and we recommend upgrading to version 2014.2.1008 and later.

Apologies for the caused inconvenience.

Regards,
T. Tsonev
Telerik
 
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
 
Tags
Charts
Asked by
Marcin
Top achievements
Rank 1
Veteran
Answers by
T. Tsonev
Telerik team
Share this question
or