Segmented Button multiselect issue with local state
Scale Version 3.0.0-beta.134
Framework and version React 18.2.0 with wrappers
Current Behavior All Scale Segmented Buttons are selected when using multi select and local state
Expected Behavior When using local state, the SegmentedButton components should refelect its state.
Code Reproduction https://codesandbox.io/s/scale-components-react18-with-wrapper-forked-i6rzgi?file=/src/App.js
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 113.0.5672.93
Hello @mwyrembl, I could confirm this bug and opened a PR to fix it https://github.com/telekom/scale/pull/1885. I also noticed some styling issues when using the segmented-button in react but these should be fixed once the refactored and a11y compliant segmented-button gets merged https://github.com/telekom/scale/pull/1881