Skip to content

Commit

Permalink
fix(material/tabs):del unnecessary code for angular#25068 fix
Browse files Browse the repository at this point in the history
Removed unnecessary code of a unit test that was added to test the ink bar animation synchronization with tab body, the PR that was intended to solve angular#25068.

Fixes angular#25617
  • Loading branch information
markusingvarsson committed Sep 13, 2022
1 parent 69b8db7 commit 3f69d47
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions src/material/tabs/tab-nav-bar/tab-nav-bar.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -577,19 +577,11 @@ class TabBarWithInactiveTabsOnInit {
@Component({
template: `
<nav [animationDuration]="500" mat-tab-nav-bar [tabPanel]="tabPanel">
<a
mat-tab-link
*ngFor="let link of links"
(click)="activeLink = link"
[active]="activeLink == link"
>{{link}}</a
>
<a mat-tab-link disabled>Disabled Link</a>
<a mat-tab-link *ngFor="let link of links">{{link}}</a>
</nav>
<mat-tab-nav-panel #tabPanel></mat-tab-nav-panel>,
`,
})
class TabsWithCustomAnimationDuration {
links = ['First', 'Second', 'Third'];
activeLink = this.links[0];
}

0 comments on commit 3f69d47

Please sign in to comment.