From 56364a0503167c7ef53866eab8086c037adeffd4 Mon Sep 17 00:00:00 2001 From: Job Date: Fri, 17 Mar 2017 23:05:10 +0100 Subject: [PATCH] fix(scroll-view): do not set initialized until it is enabled (#10817) regression caused by 7e9bad5 --- src/util/scroll-view.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/util/scroll-view.ts b/src/util/scroll-view.ts index 339f019621..c70bdfd866 100644 --- a/src/util/scroll-view.ts +++ b/src/util/scroll-view.ts @@ -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;