// 屏蔽子组件的触摸响应
import { PanResponder } from "react-native";
this._panResponder = PanResponder.create({
onMoveShouldSetPanResponderCapture: (evt, gestureState) => true
});
<View {...this._panResponder.panHandlers}>...</View>;
// 屏蔽子组件的触摸响应
import { PanResponder } from "react-native";
this._panResponder = PanResponder.create({
onMoveShouldSetPanResponderCapture: (evt, gestureState) => true
});
<View {...this._panResponder.panHandlers}>...</View>;