Answer by Lalit Garghate for react-native TouchableNativeFeedback onPress not...
Try: useForeground={true}<TouchableNativeFeedback onPress={() => {}} useForeground={true}>
View ArticleAnswer by f4z3k4s for react-native TouchableNativeFeedback onPress not working
import { TouchableNativeFeedback } from "react-native"import { TouchableNativeFeedback } from "react-native-gesture-handler"Supplementing the answer of mangei the problem could be if you import it from...
View ArticleAnswer by mangei for react-native TouchableNativeFeedback onPress not working
There are two different TouchableNativeFeedback classes. Make sure you import the correct one:import { TouchableNativeFeedback } from "react-native"import { TouchableNativeFeedback } from...
View ArticleAnswer by TheEhsanSarshar for react-native TouchableNativeFeedback onPress...
Try to import Touchable native feedback from react native gesture handler library
View ArticleAnswer by cobberboy for react-native TouchableNativeFeedback onPress not working
I've discovered that adding a Ripple effect to the TouchableNativeFeedback fixes the issue for me:background={TouchableNativeFeedback.Ripple("#FFFFFF",true)}i.e.export default function withFeedback2(...
View ArticleAnswer by user9749232 for react-native TouchableNativeFeedback onPress not...
Use a <View></View> to wrap your WrappedComponent for TouchableNativeFeedback.<TouchableNativeFeedback onPress={() =>...
View ArticleAnswer by Nirmalsinh Rathod for react-native TouchableNativeFeedback onPress...
You can call method as below:export default function withFeedback2( WrappedComponent) { return class extends BaseComponent { constructor(props) { super(props); this.onContainerViewPress =...
View Articlereact-native TouchableNativeFeedback onPress not working
I have created a composed component to compose TouchableNativeFeedback to wrapperComponent.export default function withFeedback2( WrappedComponent) { return class extends BaseComponent {...
View Article