Skip to content

Commit fea5070

Browse files
ZhaoJiSenbaijiangjie
authored andcommitted
fixed: Fixed Tab not highlighting when reconnecting
1 parent 412533b commit fea5070

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/app/elements/iframe/iframe.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,8 @@ export class ElementIframeComponent implements OnInit, AfterViewInit, OnDestroy
135135
this.src = 'about:blank';
136136
setTimeout(() => {
137137
this.src = url;
138+
this.view.connected = true;
139+
this.view.active = true;
138140
}, 100);
139-
this.view.connected = true;
140141
}
141142
}

0 commit comments

Comments
 (0)