Skip to content

Commit

Permalink
fix(): fix error with resize method (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
stionic authored and ihadeed committed Dec 19, 2017
1 parent a55167d commit fac0f4f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/super-tabs.ts
Expand Up @@ -351,6 +351,7 @@ export class SuperTabs implements OnInit, AfterContentInit, AfterViewInit, OnDes
}

resize() {
if (this.el.nativeElement.offsetParent === null) return;
this.setMaxIndicatorPosition();
this.updateTabWidth();
this.setFixedIndicatorWidth();
Expand Down

0 comments on commit fac0f4f

Please sign in to comment.