mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 12:29:55 +08:00
@ -460,6 +460,8 @@ export class Content extends Ion {
|
||||
this._tabbarPlacement = null;
|
||||
|
||||
let ele: HTMLElement = this._elementRef.nativeElement;
|
||||
if (!ele) return;
|
||||
|
||||
let parentEle: HTMLElement = ele.parentElement;
|
||||
let computedStyle: any;
|
||||
|
||||
@ -511,6 +513,8 @@ export class Content extends Ion {
|
||||
let newVal: number;
|
||||
let scrollEle = this._scrollEle;
|
||||
|
||||
if (!scrollEle) return;
|
||||
|
||||
// only write when it has changed
|
||||
if (this._fullscreen) {
|
||||
// adjust the content with padding, allowing content to scroll under headers/footers
|
||||
|
Reference in New Issue
Block a user