s.delayedClick is not a function when I upgraded kendo.all.js version from Kendo UI v2014.3.1308 to Kendo UI v2018.3.1017

1 Answer 181 Views
Grid
Abhishek
Top achievements
Rank 1
Abhishek asked on 12 Apr 2023, 07:37 AM

When I click id in kendo grid which is a link

Error in kendo.all.js

 

 var UserEvents = Observable.extend({
            init: function (element, options) {
                var that = this, filter, ns = kendo.guid();
                options = options || {};
                filter = that.filter = options.filter;
                that.threshold = options.threshold || DEFAULT_THRESHOLD;
                that.minHold = options.minHold || DEFAULT_MIN_HOLD;
                that.touches = [];
                that._maxTouches = options.multiTouch ? 2 : 1;
                that.allowSelection = options.allowSelection;
                that.captureUpIfMoved = options.captureUpIfMoved;
                that.useClickAsTap = !options.fastTap && !support.delayedClick();
                that.eventNS = ns;
                that._clicks = 0;
                that.supportDoubleTap = options.supportDoubleTap;
                element = $(element).handler(that);
                Observable.fn.init.call(that);

1 Answer, 1 is accepted

Sort by
0
Accepted
Raju
Top achievements
Rank 1
Iron
answered on 12 Apr 2023, 10:31 AM

// override the Kendo UI support flag to restore pre-2015 Q3 tap

behavior.kendo.support.delayedClick = function() {

return true;

}

 

Abhishek this should resolve your issue.

 

Abhishek
Top achievements
Rank 1
commented on 12 Apr 2023, 10:40 AM

Hi Raju,

Thanks for reply, I resolved my issue after applying your code.
Tags
Grid
Asked by
Abhishek
Top achievements
Rank 1
Answers by
Raju
Top achievements
Rank 1
Iron
Share this question
or