Browse Source

Pull request #2196: 无JIRA任务 优化一下

Merge in VISUAL/fineui from ~GUY/fineui:master to master

* commit '8ff2ae3dc236949395d15059e0b73a9eec824a39':
  grid优化
es6
guy 3 years ago
parent
commit
4aea87fbf6
  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