ttdung11t2 / react-native-confirmation-code-input

A react-native component to input confirmation code for both Android and IOS
MIT License
412 stars 352 forks source link

How to set Input Direction "Left" in RTL App mode? #58

Open ronakupadhyay91 opened 5 years ago

ronakupadhyay91 commented 5 years ago

I have app in Hebrew and app will in RTL mode and in RTL number input direction starts from Right but i need it from Left so please help me in solve this issue.

muhammadsr commented 5 years ago

@ronak91 I ran into the same issue. I did some modifications to this library. I added a property called forceLTR which will enforce the direction from left to right even if the app is in RTL mode

You can import the library like this:

"react-native-confirmation-code-input": "github:muhammadsr/react-native-confirmation-code-input"

or yarn add github:muhammadsr/react-native-confirmation-code-input

I would do a pull request but I doubt anyone will merge it

retyui commented 4 years ago

@ronak91 You can use a fork without this problem https://github.com/retyui/react-native-confirmation-code-field

amribrahim1 commented 3 years ago
containerStyle={{ flexDirection: "row-reverse" }}