We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad04373 commit 3ee392eCopy full SHA for 3ee392e
src/material/tabs/ink-bar.ts
@@ -46,6 +46,10 @@ export class MatInkBar {
46
const correspondingItem = this._items.find(item => item.elementRef.nativeElement === element);
47
const currentItem = this._currentItem;
48
49
+ if (correspondingItem === currentItem) {
50
+ return;
51
+ }
52
+
53
currentItem?.deactivateInkBar();
54
55
if (correspondingItem) {
0 commit comments