segmented-control
segmented-control copied to clipboard
Adjust segmentWidth when values prop changes on android
Overview
On android, the SegmentedControl component does not react properly to changes in the values prop, thus occasionally resulting in situations like this:
Test Plan
Changes can be verified by adding a simple setTimeout that changes the length of the values array passed to the component after it has been mounted.