I need that when I am touching and holding one button then I should also be able to touch on the button 1.
Try:
import { TouchableOpacity } from 'react-native';
Instead of:
import { TouchableOpacity } from 'react-native-gesture-handler';
Will help you to multiple buttons.
For example, if you have a TouchableOpacity
inside a TouchableWithoutFeedback
, when TouchableOpacity is touched
, it will only call TouchableOpacity's onPress, and will not be called onPress of TouchableWithoutFeedback
.