Skip to content

Theme reverting back to initial theme #441

Answered by jpudysz
shahzaib78631 asked this question in Q&A
Discussion options

You must be logged in to vote

Question: How to change placeholder color according to the active theme color. This also applies to Components which use color property i.e MaterialIcons etc.

1: Issue with popup menu - wrapped it, no more issues, but styles are somehow broken, not sure how react-native-popup-menu works
2. Yeah, I'm aware of it. I will dedicate beta.6 for Reanimated support, for now there is no workaround
3. If you're using React compiler, then it's most likely it

If we use const UniTextInput = withUnistyles(TextInput) then it throws error for

style={[styles.input, commonStyles.flex1, inputStyle]}
Unistyles: withUnistyles requires style to be an object. Please check props for component: undefined [Comp…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@jpudysz
Comment options

@jpudysz
Comment options

@jpudysz
Comment options

@jpudysz
Comment options

Answer selected by shahzaib78631
@shahzaib78631
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants