diff --git a/packages/web-components/src/components/masthead/megamenu-tab.ts b/packages/web-components/src/components/masthead/megamenu-tab.ts index 5f3066db4ae..164f05c5e8e 100644 --- a/packages/web-components/src/components/masthead/megamenu-tab.ts +++ b/packages/web-components/src/components/masthead/megamenu-tab.ts @@ -25,11 +25,11 @@ const { stablePrefix: c4dPrefix } = c4dSettings; */ @customElement(`${c4dPrefix}-megamenu-tab`) class C4DMegaMenuTab extends CDSTab { - /** - * Disable unneeded properties inherited from CDS Content Switcher Item. - */ - closeOnActivation = false; - hideDivider = false; + connectedCallback() { + super.connectedCallback(); + this.closeOnActivation = false; + this.hideDivider = false; + } render() { const { disabled, selected, value } = this;