<View style={{flex:1}} >
<ImageBackground
source={require('../images/back02.png')}
style={styles.bgscreen}
onPress={Keyboard.dismiss}
>
<KeyboardAvoidingView behavior='position'>
<Image
style={styles.headImage}
source={require('../images/login_img.png')} />
<ImgBack navigation={this.props.navigation} />
</KeyboardAvoidingView>
</ImageBackground>
</View>
</TouchableWithoutFeedback>
如果我删除<TouchableWithoutFeedback>
那么一切都很好。帮我。不要要求子组件代码。没有必要知道这一点。那里一切都很好。
我只是有问题 <TouchableWithoutFeedback>
我已经进口 import { TouchableWithoutFeedback } from 'react-native-gesture-handler';
采用
import { TouchableWithoutFeedback } from 'react-native';
反而
import { TouchableWithoutFeedback } from 'react-native-gesture-handler';
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句