[footer]: Adjunct links do not appear automatically when set in Javascript via property setter after initial update #12037
Labels
adopter: AEM
used when component or pattern will be used by this adopter
bug
Something isn't working
dev
Needs some dev work
owner: Innovation Team
used when the engineering work will be done by Hybrid Cloud with DDS engineers as consultants
severity 2
Affects major functionality, has a workaround
https://jsw.ibm.com/browse/ADCMS-6324
Description
The
<c4d-footer-container>
component defines anadjunctLinks
property which allows users the ability to addadjunctLinks
to the footer in Javascript, eg.However, when done in this way, the adjunct links, although added to the DOM and slotted into the correct place, remain hidden.
The only workaround is to write custom Javascript to reach into the shadow DOM of the
<c4d-legal-nav>
component and remove thecds--adjunct-links__container--hidden
class.Component(s) impacted
<c4d-footer-container>
<c4d-legal-nav>
Browser
Chrome
Carbon for IBM.com version
v2.13.0
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
ibm.com
Package
@carbon/web-components
CodeSandbox example
https://stackblitz.com/github/m4olivei/carbon-demo/tree/test/footer-adjunct-links?file=main.js
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: