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

Implement new features #2

Open
wants to merge 35 commits into
base: master
Choose a base branch
from
Open

Conversation

seanhouli
Copy link

  • Suggestions are now clickable -- click on a suggestion to fill the input box with the suggested location
  • Suggestions are selectable with the up and down arrow keys when the mouse is outside of the suggestion list, and can also be chosen with the enter key
  • Addition of a callback prop which is called when a suggestion is clicked. The callback is supplied the location data as well as the click event
  • Addition of focus handling for the input
  • Addition of a selectedColor prop to customize the selection color of the suggestion list
  • Basic functionality tests have been added for the above features
  • The design looks cleaner

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

Successfully merging this pull request may close these issues.

1 participant