-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Search block: Remove 'Button only' option. #27329
Comments
I'd prefer to update the behaviour so that in the button only version, when the user clicks the button the search field shows. |
I like the option to just display the button. Showing the field when the button is clicked gives a better user experience. |
Left a comment here with the intention #24666 (comment) |
At this late stage in the release removal seems to be best way to handle this, to avoid more bug reports about a feature not working. Confusions are to be avoided 😋😂 |
I'm removing the Backport label as we only use it for PRs, but adding this issue to the 5.6 must haves board. Agree that this late in the release, the best fix for now is to remove that option altogether. If anyone would like to do a PR for that, I'm happy to backport it 🙂 but if we're aiming for RC2 then it'll have to be done in the next 12 hours or so. |
Working on a PR. |
Describe the bug
When testing the Search block, I was going through all the options and found that the button only option doesn't have any action tied to it. It doesn't do anything as it doesn't have a search term to look for. It just reloads the same page.
See also comment #24666 (comment)
To reproduce
Steps to reproduce the behavior:
Expected behavior
I don't think there is an expected behavior. The "Button only" option feels foreign to the search functionality, unless an additional action is tied to it.
I can imagine for instance, a form field to slide out on button click for a visitor to enter a search term and on the second click it initiates the search. Describing it still feels a bit awkward, though.
Screenshots
Editor version (please complete the following information):
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: