We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<ModalView close={this.close} visible={this.state.visible} customerlayout={{flex: 1,}} contentView={this.renderContent}/>
弹出层renderContent### ,含有TextInput,无法弹出软键盘
renderContent = () => { return ( <View style={{ width: width-200, height: 100, flexDirection: 'row', alignItems: 'center', backgroundColor: 'white' }}> <TextInput autoFocus={true} placeholder={'1111'} maxLength={3} onChangeText={(text) => { console.log('text', text); }} style={{padding: 0, }} /> ) };
大神有啥解决办法吗
The text was updated successfully, but these errors were encountered:
在modealUtils中ModelAndroid布局中去掉TouchableOpacity还是不行
Sorry, something went wrong.
No branches or pull requests
<ModalView
close={this.close}
visible={this.state.visible}
customerlayout={{flex: 1,}}
contentView={this.renderContent}/>
弹出层renderContent### ,含有TextInput,无法弹出软键盘
renderContent = () => {
return (
<View style={{
width: width-200,
height: 100,
flexDirection: 'row',
alignItems: 'center',
backgroundColor: 'white'
}}>
<TextInput
autoFocus={true}
placeholder={'1111'}
maxLength={3}
onChangeText={(text) => {
console.log('text', text);
}}
style={{padding: 0, }}
/>
)
};
大神有啥解决办法吗
The text was updated successfully, but these errors were encountered: