mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
fix(scroll-view): do not set initialized until it is enabled (#10817)
regression caused by 7e9bad5
This commit is contained in:
@ -55,7 +55,6 @@ export class ScrollView {
|
|||||||
init(ele: HTMLElement, contentTop: number, contentBottom: number) {
|
init(ele: HTMLElement, contentTop: number, contentBottom: number) {
|
||||||
assert(ele, 'scroll-view, element can not be null');
|
assert(ele, 'scroll-view, element can not be null');
|
||||||
this._el = ele;
|
this._el = ele;
|
||||||
this.initialized = true;
|
|
||||||
this.contentTop = contentTop;
|
this.contentTop = contentTop;
|
||||||
this.contentBottom = contentBottom;
|
this.contentBottom = contentBottom;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user