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

feature request: close search bar on click on x button #254

Closed
LuisReinoso opened this issue Dec 4, 2020 · 1 comment
Closed

feature request: close search bar on click on x button #254

LuisReinoso opened this issue Dec 4, 2020 · 1 comment

Comments

@LuisReinoso
Copy link

LuisReinoso commented Dec 4, 2020

Add a config to close search bar on click or emit event when user click on x button in search bar.
c2aee823-8232-421d-b22c-e4a920d72f6d

It's a llitle bit confuse when search bar is open from search icon.
Suggested source code to edit: https://github.com/smeijer/leaflet-geosearch/blob/develop/src/SearchControl.ts#L193

@smeijer
Copy link
Owner

smeijer commented Oct 3, 2022

Fixed by #335

@smeijer smeijer closed this as completed Oct 3, 2022
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

2 participants