mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
Flipped Zone
This commit is contained in:
@ -61,13 +61,13 @@ export class Content extends Ion {
|
|||||||
super.onInit();
|
super.onInit();
|
||||||
this.scrollElement = this.getNativeElement().children[0];
|
this.scrollElement = this.getNativeElement().children[0];
|
||||||
|
|
||||||
setTimeout(() => {
|
|
||||||
this._zone.runOutsideAngular(() => {
|
this._zone.runOutsideAngular(() => {
|
||||||
|
setTimeout(() => {
|
||||||
if(!this.featureDetect.has('sticky')) {
|
if(!this.featureDetect.has('sticky')) {
|
||||||
this._sticky = StickyPoly(this.scrollElement);
|
this._sticky = StickyPoly(this.scrollElement);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user