问题描述
在带有low Android version
(4.4.2)的电话上显示。即使我删除了输入边框,它仍然看起来像边框。有移除它的道具
图片:
我的TextInput
代码
<TextInput
returnKeyType={'search'}
multiline={false}
underlineColorAndroid={'transparent'}
autoCorrect={false}
onChangeText={(text) => props.searchValueChange(text)}
keyboardShouldPersistTaps="always"
onFocus={() => {
props.setFocus(true);
transitionRef.current.animateNextTransition();
}}
value={props?.header?.searchValue}
placeholderTextColor={'rgba(240,240,.5)'}
placeholder="Type to search"
style={Style.textInput}
onSubmitEditing={() => handleLeaver(false)}
ref={_textInput}
/>
我的Style
常量:
const Style = StyleSheet.create({
textInput: {
paddingRight: 10,width: '100%',height: '100%',color: WHITE,// WHITE = '#fefeff'
},},});
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)