Closed Buwaneka-Sumanasekara closed 4 years ago
@Buwaneka-Sumanasekara I guess it's not working when using vector-icons, I can confirm it works properly with svg.
For anyone else who use react-native-vector-icons
:
For any reason, it implements it's own onPress
so it makes us impossible to handle it.
If you follow 3rd party icon packages guide, consider updating the code with the one I provide in gist. Then you need to pass onPress
to Icon component.
This is a temporary solution and we will back to it.
293 # Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior: Input icon not changing
Expected behavior: change Input password icon
Related code:
Other information:
OS, device, package version