leaflet-control-geocoder icon indicating copy to clipboard operation
leaflet-control-geocoder copied to clipboard

[Feature] Standard control collapsed: boolean; to be closed on icon click

Open sabatale opened this issue 3 years ago • 0 comments

Hello,

I can see the control collapsed: boolean; exists to set the search bar to collapsed/expanded by default.

However I was wondering if there is a way, or any tips, to collapse the bar when clicking the search icon?

I haven't found a way to collapse it manually when the control is set to False.

Thanks!

EDIT: I hadn't realized the icon also sends the request (same as ENTER), so it could be a small X button at the top-right of the bar.

sabatale avatar Mar 17 '21 12:03 sabatale