We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a5e83 commit 2d19308Copy full SHA for 2d19308
src/components/content/content.ts
@@ -460,6 +460,8 @@ export class Content extends Ion {
460
this._tabbarPlacement = null;
461
462
let ele: HTMLElement = this._elementRef.nativeElement;
463
+ if (!ele) return;
464
+
465
let parentEle: HTMLElement = ele.parentElement;
466
let computedStyle: any;
467
@@ -511,6 +513,8 @@ export class Content extends Ion {
511
513
let newVal: number;
512
514
let scrollEle = this._scrollEle;
515
516
+ if (!scrollEle) return;
517
518
// only write when it has changed
519
if (this._fullscreen) {
520
// adjust the content with padding, allowing content to scroll under headers/footers
0 commit comments