Hello,
kendo.support.scrollbar() does a bunch of root node DOM manipulation behind the scenes, triggering a reflow of the entire page every time it is queried. This is despite the fact that all it does is return a fixed numeric value.
Is there any reason it needs to do the DOM manipulation every call? We have patched it as below, and a bunch of our code (including kendo elements!) now perform better.
                                kendo.support.scrollbar() does a bunch of root node DOM manipulation behind the scenes, triggering a reflow of the entire page every time it is queried. This is despite the fact that all it does is return a fixed numeric value.
Is there any reason it needs to do the DOM manipulation every call? We have patched it as below, and a bunch of our code (including kendo elements!) now perform better.
var browserScrollbarWidth = kendo.support.scrollbar();kendo.support.scrollbar = function () {    return browserScrollbarWidth;};