themesberg / themesberg/flowbite
Phone input country code no working
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 9.4k
- Forks
- 862
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
the phone input country code feature does not work as it does not let the user selects a country code and remains opened with no way to close it.
To Reproduce
Steps to reproduce the behavior:
- Go to https://flowbite.com/docs/forms/phone-input/#phone-input-country-code
- Click on any phone country code
- Nothing happens
- The dropdown does not close and the phone country code does not change. Once opened, this dropdown does not close or let the user select the proper country code.
Expected behavior
when a user selects a country code from the list the dropdown should close and the country code should be selected
when a user clicks outside of the list the dropdown should close and the country code should remain the same
Desktop (please complete the following information):
- OS: OS X (but I wouldn't be surprised if this is also the case on Windows and Linux)
- Browser safari, chrome, firefox
- Latest versions for the 3 of them
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue at the phone-input country-code example linked in the report, then trace the example's dropdown interaction entry point. Done means selecting a country code updates the input and closes the dropdown, while clicking outside closes it without changing the selection.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, tailwindcss
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100