1

In iPhone SE model, react-native TextInput component not display the http url properly. If I entered the value as https://www.test.com means it display the value only as https:// Issue Screenshot

But If I entered as https://www.test.com/abc it display as https://www.test.com/ not showing abc

Problem is display the value only until the last slash exists.

import { TextInput } from "react-native";
        <TextInput
            {...props}
            value={value}
            editable={true}
            ref={ref => (setRef(ref))}
            onFocus={onFocus}
            onBlur={onBlur}
            onChangeText={handleChange}
            onEndEditing={handleEndEditing}
        />
  • Can you post the whole screen or at least the related functions? May be it is getting formatted somewhere else – Suyash Vashishtha Feb 02 '23 at 11:17
  • Hi @SuyashVashishtha, I posted the code that I am trying, I verified in multiple iPhone models (iPhone 12, and iPhone 13) it is working fine. but this particular iPhone SE model only fails. – renuka devi Feb 02 '23 at 11:56
  • 1
    hi @SuyashVashishtha , this formatting happens only http url otherwise it is working fine in the iPhone SE model. so it is not design issue. – renuka devi Feb 02 '23 at 12:17

0 Answers0