thegamenicorus / react-native-phone-input

Phone input box for React Native
https://www.npmjs.com/package/react-native-phone-input
MIT License
395 stars 450 forks source link

add disableFullscreenUI property to textComponent #59

Open sanazmortazavi opened 6 years ago

sanazmortazavi commented 6 years ago

i want to add disableFullscreenUI property to phoneInput tag. when i add this property to your source codes for textComponent tag, this property works. please add this property to your codes as following:

      <TextComponent
        ref={ref => {
          this.inputPhone = ref;
        }}
        editable={!disabled}
        autoCorrect={false}
        style={[styles.text, this.props.textStyle]}
        onChangeText={text => {
          this.onChangePhoneNumber(text);
        }}
        keyboardType="phone-pad"
        disableFullscreenUI={true}
        underlineColorAndroid="rgba(0,0,0,0)"
        value={formattedNumber}
        {...this.props.textProps}
      />