diff --git a/components/mip-tabs/mip-tabs.js b/components/mip-tabs/mip-tabs.js index e9c2ded8..c7b70321 100644 --- a/components/mip-tabs/mip-tabs.js +++ b/components/mip-tabs/mip-tabs.js @@ -53,6 +53,8 @@ export default class MIPTabs extends CustomElement { moveTo (index) { this.tabs[this.currentIndex].setAttribute('is-active', false) this.tabs[index].setAttribute('is-active', true) + this.labels[this.currentIndex].classList.remove('optionColor') + this.labels[index].classList.add('optionColor') this.currentIndex = index const currenLabel = this.labels[index].querySelector('span')