Skip to content

Commit 56364a0

Browse files
Manduromanucorporat
authored andcommitted
fix(scroll-view): do not set initialized until it is enabled (#10817)
regression caused by 7e9bad5
1 parent 7e9bad5 commit 56364a0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/util/scroll-view.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ export class ScrollView {
5555
init(ele: HTMLElement, contentTop: number, contentBottom: number) {
5656
assert(ele, 'scroll-view, element can not be null');
5757
this._el = ele;
58-
this.initialized = true;
5958
this.contentTop = contentTop;
6059
this.contentBottom = contentBottom;
6160

0 commit comments

Comments
 (0)