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

add a clearOnClickOutside option #240

Closed
samanpwbb opened this issue Apr 6, 2019 · 1 comment · Fixed by #255
Closed

add a clearOnClickOutside option #240

samanpwbb opened this issue Apr 6, 2019 · 1 comment · Fixed by #255
Assignees

Comments

@samanpwbb
Copy link
Contributor

It would be useful to have an option that adjusts the default behavior of the geocoder to clear the input when user clicks off of the geocoder or the results list.

@samanpwbb
Copy link
Contributor Author

Clear and collapse on esc keypress would also be useful. I tried implementing this outside of the geocoder, but I think some internal event handling is preventing me from doing it well.

@samanpwbb samanpwbb self-assigned this Apr 11, 2019
samanpwbb added a commit that referenced this issue Apr 11, 2019
samanpwbb added a commit that referenced this issue Apr 11, 2019
samanpwbb added a commit that referenced this issue Apr 12, 2019
This option provides a more ephemeral geocoder experience, great for apps where the geocoder is a minor feature. This option works best when combined with flyTo configured with duration:0. Closes #240
@samanpwbb samanpwbb mentioned this issue Apr 12, 2019
4 tasks
samanpwbb added a commit that referenced this issue Apr 12, 2019
This option provides a more ephemeral geocoder experience, great for apps where the geocoder is a minor feature. This option works best when combined with flyTo configured with duration:0. Closes #240
samanpwbb added a commit that referenced this issue Apr 12, 2019
samanpwbb added a commit that referenced this issue Apr 12, 2019
This option provides a more ephemeral geocoder experience, great for apps where the geocoder is a minor feature. This option works best when combined with flyTo configured with duration:0. Closes #240
samanpwbb added a commit that referenced this issue Apr 12, 2019
* add clearOnBlur option
This option provides a more ephemeral geocoder experience, great for apps where the geocoder is a minor feature. This option works best when combined with flyTo configured with duration:0. Closes #240
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 a pull request may close this issue.

1 participant