hbb20 / hbb20/CountryCodePickerProject

Question about RTL support

Open
#435 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.5k
Forks
509
PR merge metrics
No merged PRs in 30d

Description

I'm using the awesome library. I want to add support to RTL languages. I have the following layout:
```

```
I'm using CountryCodePickerProject in my project (awesome library). It allows to set a phone number prefix to the number. I wrote the following layout:

It basically creates the following display:

> [icon] [Country Prefix] [Phone number box to fill]

In LTR language it looks great. But when I change the language of the phone to RTL it displays:

> [Phone number box to fill] [Country Prefix] [icon]

It looks strange because the prefix should be on the left side of the phone number (even in RTL). Speaking of UI/UX thinking, what would be the best solution here to display RTL so it won't look awkward? Maybe force it to be on the left side? But then you will have something like: `+11 [________ملحوظة]`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.