ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

ui5-segmentedbutton: Some toggle buttons contain ellipsis

Open MarcusNotheis opened this issue 6 years ago • 2 comments

Describe the bug A set of Toggle Buttons within Segmented Button will in some cases have ellipsis.

To reproduce Steps to reproduce the behavior:

  1. Open the provided codesandbox
  2. See the error (in case it is not there reload a couple of times)

Isolated example https://codesandbox.io/s/ui5-webcomponents-ig0mo?file=/index.html

<ui5-segmentedbutton>
    <ui5-togglebutton design="Default">Button 1</ui5-togglebutton>
    <ui5-togglebutton design="Default" pressed>Button 2</ui5-togglebutton>
    <ui5-togglebutton design="Default">Button 3</ui5-togglebutton>
</ui5-segmentedbutton>

Expected behavior All text is fully shown

Screenshots If applicable, add screenshots to help explain your problem. image

Context

  • UI5 Web Components version: 1.0.0-rc.7
  • OS/Platform: macOS Catalina 10.15.4
  • Browser (if relevant): Chrome 81.0.4044.138

Affected components (if known)

  • ui5-segmentedbutton

Original Issue: https://github.com/SAP/ui5-webcomponents-react/issues/513

MarcusNotheis avatar May 14 '20 15:05 MarcusNotheis

Might be related to #1597 as well?

MarcusNotheis avatar May 14 '20 15:05 MarcusNotheis

Yes it is related and should be fixed with #1622.

fifoosid avatar May 15 '20 07:05 fifoosid