Describe the bug
A default collapsed Panel containing a SegmentedButton renders oddly. The ToggleButton text is all ellipsis and renders partially outside of the Panel. If the default collapsed is false, the behavior does not happen.
To Reproduce
Steps to reproduce the behavior:
- Use the create-react-app with @ui5/webcomponents-react template
- Add the following code to App.js
<Panel collapsed={true}>
<SegmentedButton>
<ToggleButton>Left</ToggleButton>
<ToggleButton>Center</ToggleButton>
<ToggleButton>Right</ToggleButton>
</SegmentedButton>
</Panel>
Expected behavior
The SegmentedButton should render correctly despite the default Panel collapsed variable.
Screenshots

UI5 Web Components for React Information
Operating System:
@ui5/webcomponents-react version: 0.9.4
Do you have a dependency to@ui5/webcomponents in your package.json? If yes, which version?: 1.0.0-rc.7