You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am setting dynamic textAlign prop('left', 'center', 'right') to TextInput component using useState.
The behavior for setting textAlign prop seems to be inconsistent in iOS, sometimes it works, sometimes it wont. I'm not sure of the circumstances that trigger them.
Please refer to the attached video below
First Case - dynamic textAlign works without any characters, but won't if characters are typed
rep2.mov
Second Case - Behavior differs by keyboard language
rep.mov
When the keyboard is english, this works well.
Upon changing the keyboard language other than English, textAlign prop stops working.
Reproduced in iOS simulator, haven't tried real device. Android seems to work fine with both cases
Steps to reproduce
dynamically set textAlign prop with useState
change the keyboard language other than English(reproduction video is in Korean)
Description
Hi,
I am setting dynamic
textAlignprop('left', 'center', 'right') toTextInputcomponent using useState.The behavior for setting textAlign prop seems to be inconsistent in iOS, sometimes it works, sometimes it wont. I'm not sure of the circumstances that trigger them.
Please refer to the attached video below
First Case - dynamic
textAlignworks without any characters, but won't if characters are typedrep2.mov
Second Case - Behavior differs by keyboard language
rep.mov
When the keyboard is english, this works well.
Upon changing the keyboard language other than English,
textAlignprop stops working.Reproduced in iOS simulator, haven't tried real device. Android seems to work fine with both cases
Steps to reproduce
textAlignprop with useStateReact Native Version
0.80.1
Affected Platforms
Runtime - iOS
Output of
npx @react-native-community/cli infoStacktrace or Logs
MANDATORY Reproducer
Screenshots and Videos
rep2.mov
rep.mov