akveo / react-native-ui-kitten

:boom: React Native UI Library based on Eva Design System :new_moon_with_face::sparkles:Dark Mode
https://akveo.github.io/react-native-ui-kitten/
MIT License
10.19k stars 952 forks source link

Icons flickering when state change only for ios. #1785

Open gani419 opened 8 months ago

gani419 commented 8 months ago

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.