Open rahul-hexalitics01 opened 1 year ago
You can open a PR for a fix and I will publish it
On Thu, Apr 13, 2023 at 7:29 AM rahul-hexalitics01 @.***> wrote:
When apply textStyle={{ fontSize: 18, }} text shifted up and also get clipped from top in android device, In iOS working fine.
— Reply to this email directly, view it on GitHub https://github.com/rili-live/react-native-phone-input/issues/47, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACXGCERWNCVV74VLVOMOMLTXA7WUPANCNFSM6AAAAAAW5ALQ5M . You are receiving this because you are subscribed to this thread.Message ID: @.***>
This is how I fixed it, by adding height to textStyle prop.
textStyle={{ fontSize: 18, height: 24 }}
When apply
textStyle={{ fontSize: 18, }}
text shifted up and also get clipped from top in android device, In iOS working fine, it remain in center.