0

这在带有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,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'
    },
    },
  });
4

0 回答 0