catamphetamine / react-phone-number-input

React component for international phone number input
http://catamphetamine.gitlab.io/react-phone-number-input/
MIT License
915 stars 193 forks source link

Missing RTL support #396

Open lenosky opened 2 years ago

lenosky commented 2 years ago

Package doesn't support RTL

catamphetamine commented 2 years ago

I guess it won’t, unless dome native RTL-speaker adds it.

On Wed, 15 Dec 2021 at 18:17, lenosky @.***> wrote:

Package doesn't support RTL

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/catamphetamine/react-phone-number-input/issues/396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADUP3ZAFYMG64OMCT3LIB3URCWRBANCNFSM5KD43NGA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

eliaoucohen72 commented 2 years ago

The number +123 45 678 9000 is displayed 9000 678 45 123+ I resolve the problem by adding the CSS: direction: 'ltr' (and width: 'fit-content' to display it on the right). I hope it is help