ui5-webcomponents
ui5-webcomponents copied to clipboard
ui5-segmentedbutton: Some toggle buttons contain ellipsis
Describe the bug A set of Toggle Buttons within Segmented Button will in some cases have ellipsis.
To reproduce Steps to reproduce the behavior:
- Open the provided codesandbox
- 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.

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
Might be related to #1597 as well?
Yes it is related and should be fixed with #1622.