You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the SegmentedButtons component is passed a buttons prop and the buttons prop has conditional logic for showing an array of buttons based off of a boolean, then any icons to the right of the first segmented button do not show.
The button functionality is not impacted.
Expected behaviour
When pressing the edit button I expect the cancel button and delete button icons to show on the screen
How to reproduce?
Create two separate arrays for showing a different set of icons and actions
Current behaviour
Expected behaviour
When pressing the edit button I expect the cancel button and delete button icons to show on the screen
How to reproduce?
Create two separate arrays for showing a different set of icons and actions
Pass the buttons array to the buttons prop of the <SegmentedButton otherProps={...} buttons=[conditional logic here] />
segmented-buttons--rn-paper-issue.zip
Preview
https://snack.expo.dev/@gregpetropoulosdev/segmented-buttons--rn-paper-issue
Screen.Recording.2026-01-22.at.11.38.01.PM.mov
Initial
When a user presses edit button then the conditional logic runs and icons don't show up
What have you tried so far?
Your Environment