mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-26 08:13:34 +08:00
fix(sticky): remove polyfill
This commit is contained in:
@ -47,13 +47,4 @@ export class ItemGroupTitle {
|
||||
// make sure the sticky class gets set on the title
|
||||
this.isSticky = true;
|
||||
}
|
||||
onInit() {
|
||||
this.zone.runOutsideAngular(() => {
|
||||
setTimeout(() => {
|
||||
if(this.content.getStickyPolyfill()) {
|
||||
this.content.getStickyPolyfill().add(this.elementRef.nativeElement);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user