diff --git a/src/components/super-tabs/super-tabs.ts b/src/components/super-tabs/super-tabs.ts index 9b27b0b..4056ba7 100644 --- a/src/components/super-tabs/super-tabs.ts +++ b/src/components/super-tabs/super-tabs.ts @@ -426,7 +426,6 @@ export class SuperTabs implements OnInit, AfterContentInit, AfterViewInit, OnDes */ onTabChange(index: number) { if (index <= this._tabs.length) { - this._tabs[this.selectedTabIndex].getActive()._didLeave(); this.selectedTabIndex = index; @@ -434,10 +433,6 @@ export class SuperTabs implements OnInit, AfterContentInit, AfterViewInit, OnDes this.refreshTabStates(); - const activeViewController = this._tabs[this.selectedTabIndex].getActive(); - - activeViewController && activeViewController._didEnter(); - this.tabSelect.emit({ index, id: this._tabs[index].tabId