[ic-radio-group] updating orientation after initial render doesn't work
- Dominant language
- TypeScript
- Stars
- 53
- Forks
- 63
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 15
Description
## 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.
Contributor guide
Research direction
Start in the Storybook playground and reproduce the issue by toggling the ic-radio-group orientation after initial render. Trace the TypeScript implementation for the orientation property and verify the component can switch between vertical and horizontal states without a page refresh.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100