Home > Mobile >  how hidden TextInput IOS Keyboard top area (ok button)
how hidden TextInput IOS Keyboard top area (ok button)

Time:07-13

enter image description here

i want to hidden this area What shall I do? thanks

CodePudding user response:

        <TextInput
          returnKeyType={'default'}
          autoFocus
          style={{ paddingBottom: 97,height: 238,padding: 0}}
          // blurOnSubmit={true}
          multiline={true}
          // onSubmitEditing={onConfirm}
          // maxLength={30}
          // autoCorrect={false}
          clearButtonMode={'always'}
          textContentType={'none'}
          placeholder={'Please enter note'}
          placeholderTextColor={'#454545'}
          value={note}
          enablesReturnKeyAutomatically
          caretHidden
          keyboardType="default"
          blurOnSubmit={false}
          contextMenuHidden={false}
          inputAccessoryViewID={inputAccessoryViewID}
          // disableFullscreenUI={false}
          onChangeText={noteChanged}
        ></TextInput>

CodePudding user response:

Remove these props from TextInput

  1. enablesReturnKeyAutomatically
  2. returnKeyType={'default'}
  • Related