Open TheProBro opened 1 month ago
try to move object inside array it would be working ex. style={style.a} to style={[style.a]}
https://snack.expo.dev/cQvwWTDFzX0THj9yNa8CA?platform=android
in this site it showing at end if i change textAlign center to right initial showing to center
@meetdhanani17 did you try on the android simulator? if yes can you share a screenshot as im not able to reproduce it on my end.
@TheProBro
Yes this works, but the issue i raised was if i want to change text align of the text component, i cant as the textinput style overshadows, and this behaviour is not observed in iOS
can you please share screenshot of both devices with issue difference
The code is same but result is different
Description
In android, applying textAlign for children on textInput does not apply. This works in iOS
Steps to reproduce
React Native Version
0.74.84
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
https://snack.expo.dev/cQvwWTDFzX0THj9yNa8CA?platform=android
Screenshots and Videos
No response