diff --git a/ionic/components/content/content.ts b/ionic/components/content/content.ts index e2ec5ed714..e265016a47 100644 --- a/ionic/components/content/content.ts +++ b/ionic/components/content/content.ts @@ -61,13 +61,13 @@ export class Content extends Ion { super.onInit(); this.scrollElement = this.getNativeElement().children[0]; - setTimeout(() => { - this._zone.runOutsideAngular(() => { + this._zone.runOutsideAngular(() => { + setTimeout(() => { if(!this.featureDetect.has('sticky')) { this._sticky = StickyPoly(this.scrollElement); } }); - }) + }); } /**