fix(scroll-view): do not set initialized until it is enabled (#10817)

regression caused by 7e9bad5
This commit is contained in:
Job
2017-03-17 23:05:10 +01:00
committed by Manu MA
parent 7e9bad5092
commit 56364a0503

View File

@ -55,7 +55,6 @@ export class ScrollView {
init(ele: HTMLElement, contentTop: number, contentBottom: number) {
assert(ele, 'scroll-view, element can not be null');
this._el = ele;
this.initialized = true;
this.contentTop = contentTop;
this.contentBottom = contentBottom;