Browse Source

grid优化

es6
guy 3 years ago
parent
commit
8ff2ae3dc2
  1. 2
      src/base/grid/grid.js

2
src/base/grid/grid.js

@ -293,7 +293,7 @@ BI.GridView = BI.inherit(BI.Widget, {
return; return;
} }
this._scrollLock = true; this._scrollLock = true;
this.options.scrollLeft = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop()); this.options.scrollTop = BI.clamp(scrollTop || 0, 0, this._getMaxScrollTop());
this._debounceRelease(); this._debounceRelease();
this._calculateChildrenToRender(); this._calculateChildrenToRender();
this.element.scrollTop(this.options.scrollTop); this.element.scrollTop(this.options.scrollTop);

Loading…
Cancel
Save