mi6 / ic-ui-kit

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

[ic-radio-group] updating orientation after initial render doesn't work #2035

Open GCHQ-Developer-530 opened 1 week ago

GCHQ-Developer-530 commented 1 week ago

Summary of the bug

When setting orientation on the radio group, it only updates to the correct orientation after a page refresh, when it should toggle the boolean value correctly.

🪜 How to reproduce

Tell us the steps to reproduce the problem:

  1. Go to storybook playground
  2. Toggle orientation
  3. See the error

🧐 Expected behaviour

Should be able to toggle between vertical and horizontal orientation without page refresh.