react-native-confirmation-code-input icon indicating copy to clipboard operation
react-native-confirmation-code-input copied to clipboard

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

Open ronakupadhyay91 opened this issue 5 years ago • 3 comments

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.

ronakupadhyay91 avatar Aug 04 '19 06:08 ronakupadhyay91

@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

muhammadsr avatar Sep 07 '19 20:09 muhammadsr

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

retyui avatar Feb 19 '20 08:02 retyui

containerStyle={{ flexDirection: "row-reverse" }}

amribrahim1 avatar Sep 19 '21 23:09 amribrahim1