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

I need some modification in elastic-press autosuggestion search. #3482

Open
1 task done
RAHULPATILG opened this issue Jun 5, 2023 · 3 comments
Open
1 task done
Labels
Milestone

Comments

@RAHULPATILG
Copy link

RAHULPATILG commented Jun 5, 2023

Hello, I am wordpress developer, I am using elastic-press search from long time and it works fine, But I have requirement
regarding the elastic-press search bar autosuggestion search box: -
So, when we search into the search bar, The search bar display the autosuggestion box.
So the problem is that when we click on it the autosuggestion box get disable.
Now I need some modification in it, as per my requirement I want is that when we click on the autosuggestion box it should not disable it should hold the autosuggestion box until we click anywhere except autosuggestion box.

  • I agree to follow this project's Code of Conduct
@RAHULPATILG RAHULPATILG changed the title Elastic-press autosuggestion box disable problem. I need some modification Elastic-press autosuggestion. Jun 9, 2023
@RAHULPATILG RAHULPATILG changed the title I need some modification Elastic-press autosuggestion. I need some modification in elastic-press autosuggestion search. Jun 9, 2023
@JakePT
Copy link
Contributor

JakePT commented Jun 27, 2023

Hi @RAHULPATILG, what I think you're describing is not currently possible with any of the hooks available in Autosuggest. Can I ask you to elaborate on your use case? Typically the only things you can click inside the autosuggest box are the results themselves, so you would be navigated to that result and there wouldn't be any reason to keep the box open.

@felipeelia
Copy link
Member

As we didn’t have any movement on this issue for a week now, we are closing it. If you still want any further help, please let us know. Otherwise, if you’ve managed to get an answer to your problem, we’d highly appreciate it if you could get back to us here and leave the solution in a comment. Thanks!

@ravikantdk
Copy link

ravikantdk commented Jul 5, 2023

Hi @JakePT I'm also looking for the same feature.

  1. When the user enters a keyword in the search bar, autosuggestion comes & visible until the search bar has focus, thereafter if the search bar comes in focus it does not show his previous result however keyword is still present there, the user has to re-enter the same keyword.
  2. We are also thinking to open the product link on a new tab, which means if the user revisits his previous tab then the autosuggestions container should be there unless the search bar focus is removed.
  3. Also will add "add to cart" button in the autosuggestion product list, so the user can quickly add it to the cart and make quick checkout. & if the autosuggestion container gets hidden every time and the user has to re-enter the keyword again and again.

Kindly consider implementing this in your next upcoming release, this would really enhance the user experience.

Please consider reopening this issue else let me know I'll open a new thread.

Thanks.

@JakePT JakePT reopened this Jul 5, 2023
@JakePT JakePT added this to the Future Release milestone Jul 5, 2023
@felipeelia felipeelia modified the milestones: Future Release, 5.2.0 Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants