In react-Native Im using TouchableOpacity as buttons, but they are not very clear that they have been pressed. Therefore I have used a Snackbar to make the feedback more visible.
But I would also like to increase the amount of ms that the button is "opacitied" to make it even more clear that the button has been pressed, and avoid users from clicking twice. Is there any way to do that?
Here is an example for you to delay the opacity effect to the button. I use
TouchableHighlightfor better demostration, it should be working while replace it byTouchableOpacity.