mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
25 stars 25 forks source link

groupLinks on Footer do not update after the initial render #2007

Open MI6-255 opened 3 months ago

MI6-255 commented 3 months ago

Summary of the bug

groupLinks on Footer do not update after the initial render

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Add a Footer with IcFooterLinkGroup as slots and groupLinks as false
  2. Toggle groupLinks totrue
  3. Watch as it does not update properly

As part of fixing this, change the defaultArgs to the default of false for groupLinks on Storybook.

📸 Screenshots or code

See the Storybook playground and toggle groupLinks

🧐 Expected behaviour

groupLinks to update visually when toggled