We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5617cf9 commit 5bebfeeCopy full SHA for 5bebfee
js/SegmentedControl.js
@@ -84,7 +84,7 @@ const SegmentedControl = ({
84
if (ref.current) {
85
ref.current.measure((_x, _y, width) => updateSegmentWidth(width));
86
}
87
- }, [values]);
+ }, [values, updateSegmentWidth]);
88
89
return (
90
<View
0 commit comments