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:
Go to storybook playground
Toggle orientation
See the error
🧐 Expected behaviour
Should be able to toggle between vertical and horizontal orientation without page refresh.
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:
🧐 Expected behaviour
Should be able to toggle between vertical and horizontal orientation without page refresh.