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

Options are really hard to click #12

Open
DerekFei opened this issue Dec 1, 2021 · 0 comments
Open

Options are really hard to click #12

DerekFei opened this issue Dec 1, 2021 · 0 comments

Comments

@DerekFei
Copy link

DerekFei commented Dec 1, 2021

Problem: for countries with shorter names, it's really hard to select them (the dropdown will disappear after clicking on it, but the selection is not registered. This issue made this awesome lib not production-ready.

How to reproduce:
Search for a shorter country name (eg. Canada)
Then click on the option, the selection will not be made most of the time

Potential Solution: Expand the click area to the entire option div and make sure the selection got registered once the user click on anywhere of the option item

maybe the following line needs modification (we need to register the selected index here)

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

No branches or pull requests

1 participant