Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<ebay-phone-input>: <Need support filtering and customized sorting countries> #2325

Open
weibichen opened this issue Nov 15, 2024 · 3 comments

Comments

@weibichen
Copy link

Enhancement Request

Description

Need support filtering and customized sorting countries in Marko component

Context

  • For special site, we only support user select special countries, so we need it support filtering.

  • For some site, we support lost of country. To improve the user experience, we need to put the most commonly used countries first, and the rest at the back in alphabetical order. So we need customized sorting.

@LuLaValva
Copy link
Member

UX question:

For option 2, where all countries are shown but some are pushed to the top of the list, would it be preferable to list those important countries twice (once at the top, and once in alphabetical order)? I expect that some users may start scrolling immediately because they expect alphabetical order and miss their country at the top (I have done this before).

@weibichen
Copy link
Author

Yes, good suggestion.
I check "Edit Address" feature in www.ebay.com, it did list those important countries twice (once at the top, and once in alphabetical order).

@LuLaValva
Copy link
Member

Thanks for finding that! We should shoot for consistency and show countries twice in that case then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants