- May 8, 2023 at 9:11 pm #42390
I’m using the plugin on my website to have two different search bars and each will search on a different category of pages.
The thing is our client wants the search bar to only appear when clicking the name of a category, I have done this with my own code so that when you click on each category name the corresponding search bar appears.
Also the result suggestions are enabled to show suggestions for the specific category.
The problem is that on the first load of the page the result suggestions appear out of nowhere without the search bar. To be clear, both the search bar and the suggestions must remain hidden until you click on the name of a category.
How can this be fixed?
If you could point me to the settings for this, or maybe the file where this could be controlled then I can work on it myself.
Here’s a video of the problem
https://www.dropbox.com/s/k6366ubt63n84gv/Screen%20Recording%202023-05-08%20at%2013.56.40.mov?dl=0May 8, 2023 at 9:31 pm #42391
I wrote Result suggestions but I was referring to the Auto Populate option, that is what is appearing out of nowhereMay 9, 2023 at 12:17 pm #42396
I believe the best way to get around this issue is to programmatically trigger the search whenever it gets visible when the corresponding menu element is clicked.
If you like my products, don't forget to rate them on codecanyon :)
You must be logged in to reply to this topic.