We are using Ionic React 5.0.7.
On iOS, segments don’t have 100% width but a fixed width (in which the actual width depends on the number of segment buttons).
We would like to style a segment with 2 buttons so that it is always displayed as 100% width, with each of the 2 segment buttons using 50% width. We can set the width of the IonSegment to 100%, which causes the segment div to be 100% width instead of a fixed width. If we try to set the width of the 2 segment buttons to 50%, it has no effect. The width is still fixed, and not 100% wide.
Anyone ideas on how to set the width of a segment with 2 segment buttons to 100% on iOS?