Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icons flickering when state change only for ios. #1785

Open
gani419 opened this issue Oct 30, 2023 · 0 comments
Open

Icons flickering when state change only for ios. #1785

gani419 opened this issue Oct 30, 2023 · 0 comments

Comments

@gani419
Copy link

gani419 commented Oct 30, 2023

This issue working fine in android but in ios, icons are flickering when state changes like any input entry.
I'm rendering my icons like following for onPress (using TouchableOpacity).

accessoryRight={() => { return ( <TouchableOpacity onPress={() => handleOnchange(!userData?.passwordFlag, 'passwordFlag')}> <Icon name={userData?.passwordFlag ? 'eye-slash' : 'eye'} tintColor={MyColors.white} /> </TouchableOpacity> ); }}
The icons are flickering where there is no TouchableOpacity as parent.
Need some solution. Thanks in advance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant