react-native-phone-input icon indicating copy to clipboard operation
react-native-phone-input copied to clipboard

add disableFullscreenUI property to textComponent

Open sanazmortazavi opened this issue 7 years ago • 0 comments

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}
      />

sanazmortazavi avatar Jul 14 '18 07:07 sanazmortazavi