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.
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.