Skip to content

Commit 809ad90

Browse files
committed
fix(super-tab): detect changes when set to active
1 parent bd849fd commit 809ad90

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/super-tab/super-tab.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ export class SuperTab extends NavControllerBase implements OnInit, AfterViewInit
102102
setActive(active: boolean) {
103103
if (active && !this.active) {
104104
this.cd.reattach();
105-
// TODO check if you need to detect changes manually
106-
// this.cd.detectChanges();
105+
this.cd.detectChanges();
107106
} else if (!active && this.active) {
108107
this.cd.detach();
109108
}

0 commit comments

Comments
 (0)