Closed nsilvestri closed 1 year ago
Thanks! This is really nice. Much appreciated.
@all-contributors please add @nsilvestri for ideas, code
@smeijer
I've put up a pull request to add @nsilvestri! :tada:
:tada: This PR is included in version 3.7.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR adds behavior to the clear text "x" button while the geosearch is in
button
mode. If there is no text in the search input, the "x" button will additionally close the search input, exactly as if the primary search button itself was clicked. If there is text in in the search input, the button will behave as before, clearing the text but not closing the button.As is, this PR does not make this behavior configurable. There are two reasons for this decision:
This change has no effect on the behavior of the
bar
variant.This functionality was requested in #254.