segmented-control icon indicating copy to clipboard operation
segmented-control copied to clipboard

Change tintColor and fontStyle.color is lost

Open padge opened this issue 2 years ago • 3 comments

I'm trying to use this component to change my app's theme from light to dark.

The fontStyle.color prop works on first render, but when I change tintColor prop (light and dark have slightly different tints) the fontStyle.color style is lost and tintColor is used for the font color instead.

If I keep tintColor the same and only change fontStyle.color (when switching from light to dark), then the font color is correct. It's only when tintColor changes to a different value does the error happen.

Using version 2.4.0.

padge avatar Nov 30 '22 19:11 padge

Same issue here. And I also noticed that the appearance prop is not correct either. Even if I set it to light it changes when I change app theme

miladdev85 avatar Dec 19 '22 22:12 miladdev85

Facing the same issue, any update on this ?

m6265m avatar Mar 09 '23 02:03 m6265m

Same issue!

Tavernari avatar Aug 06 '23 14:08 Tavernari