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

Date Picker dropdown failed after updating JQuery

2 Answers 99 Views
Date/Time Pickers
This is a migrated thread and some comments may be shown as answers.
Stephen
Top achievements
Rank 1
Stephen asked on 05 Jan 2017, 09:00 PM

The date picker dropdown was working correctly until I updated JQuery from version 2.2.3 to 3.1.1.  Now I'm getting this error when clicking on the date picker dropdown icon: 

jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1 Uncaught TypeError: r.getClientRects is not a function
    at s.fn.init.offset (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at init._position (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at init.open (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at l.open (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at l.toggle (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at init._click (kendo-js?v=uA5K1yopyLG1t7MMuD-Uelq9fONL8E_b_NOc9fe9Trw1:1)
    at HTMLSpanElement.r (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at HTMLSpanElement.dispatch (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)
    at HTMLSpanElement.a.handle (jquery?v=o2U6t4rMgqClQ3uJM8HbPM_wIXeGzahdJeO9fh-Xrbs1:1)

Any help is appreciated.

 

Stephen Lee

 

2 Answers, 1 is accepted

Sort by
0
Stephen
Top achievements
Rank 1
answered on 05 Jan 2017, 10:23 PM

Here is a better error message:

jquery-3.1.1.js:9960 Uncaught TypeError: elem.getClientRects is not a function
    at E.fn.init.offset (jquery-3.1.1.js:9960)
    at init._position (kendo.custom.min.js:3)
    at init.open (kendo.custom.min.js:3)
    at j.open (kendo.custom.min.js:3)
    at j.toggle (kendo.custom.min.js:3)
    at init._click (kendo.custom.min.js:3)
    at HTMLSpanElement.proxy (jquery-3.1.1.js:502)
    at HTMLSpanElement.dispatch (jquery-3.1.1.js:5201)
    at HTMLSpanElement.elemData.handle (jquery-3.1.1.js:5009)

0
Accepted
Dimiter Topalov
Telerik team
answered on 09 Jan 2017, 08:34 AM
Hello Stephen,

I answered the support thread on the same topic, but will also paste the answer here, so others can benefit as well:

The support for jQuery 3.1.1 version was introduced in our latest official release (2016.3.1118 a.k.a 2016 Q3 SP2):

http://docs.telerik.com/kendo-ui/intro/installation/prerequisites#supported-jquery-versions

Upgrading to the current Kendo UI version should resolve the issue:

http://dojo.telerik.com/oPoLa

Regards,
Dimiter Topalov
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Date/Time Pickers
Asked by
Stephen
Top achievements
Rank 1
Answers by
Stephen
Top achievements
Rank 1
Dimiter Topalov
Telerik team
Share this question
or