scale icon indicating copy to clipboard operation
scale copied to clipboard

[Segmented Button] Collapses in on itself when placed inside a scale-collapsible

Open ledex opened this issue 9 months ago • 0 comments

Scale Version 3.0.0-beta.151

Framework and version React 17.0.2 React 18.2.0

Current Behavior From time to time the segmented button 'collapses' in on itself as seen below when placed inside a scale-collapsible. grafik

The scale-segmented-button spans the entire width, but the individual scale-segments are way to narrow for the text. With fullWidth={true} the issue still persists.

Expected Behavior Segmented button should look normal as seen below. grafik

Code Reproduction https://codesandbox.io/p/sandbox/scale-components-react18-forked-vgwsvy

Desktop (please complete the following information):

  • OS: Win11 10.0.22621 Build 22621
  • Browser: Firefox 125.0.3

ledex avatar May 15 '24 09:05 ledex