scale icon indicating copy to clipboard operation
scale copied to clipboard

Segmented Button multiselect issue with local state

Open mwyrembl opened this issue 2 years ago • 1 comments

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

mwyrembl avatar May 22 '23 07:05 mwyrembl

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

felix-ico avatar May 25 '23 13:05 felix-ico