Open
Description
Hi,
We noticed that pressing the selected item in the segmented control triggers the onChange and onValueChange every time on android or web but it doesn't on iOS. Only pressing an unselected item triggers the onChange.
This behaviour should be the same on both android & iOS.
Tapping an active segment should never call the onChange orValueChange handlers, since there is no change in the state. Perhaps an onPress can be added that triggers the event on every press?
Reproducible example
https://snack.expo.dev/gfEAxSb7j4Pd5uGSENPVw
Notice the difference when running the snack on iOS vs on android
Metadata
Metadata
Assignees
Labels
No labels