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