Skip Navigation

[Resolved] Search field by title doesn't works as i should

This support ticket is created 4 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

This topic contains 6 replies, has 2 voices.

Last updated by Christos 4 years, 1 month ago.

Assisted by: Jamal.

Author
Posts
#1829843

I have added a text search field in my search page here > hidden link but there are some issues in the functionality.
1. In every browser and mobile device that i tested, I click on the field but suddenly the field is not clicked and I must click again in order to start typing.
2. In firefox, there is one more issue. When you start typing in the field, the search of the browser opens ( ctr+f). Please check my screenshot > hidden link

Link to a page where the issue can be seen: hidden link

#1829987

Hello and thank you for contacting the Toolset support.

Please check if this issue appears when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
- The theme is set to a WordPress default like Twenty Fourteen. It will tell us if there is an interaction issue with your theme.
If the problem disappears, start activating one at a time to track where the incompatibility is produced.

#1830819

I did all the actions that you suggested to me but the issues are still remaining.

#1831223

Would you allow me to take a copy of your website for further analysis locally?

#1831457

Sure.

#1832177

First, I thought that the issue comes from the touch script in the Twenty-nineteenth theme. So, I created a custom code to disable this script. This has fixed the issue on my local install, but it did not on the staging site.

I kept debugging and from what I could gather so far, I think that the issue is on the view pagination configuration, I am not sure as I can't reproduce the issue on my local setup.

The view on the page is configured to automatically paginate after 2s, and to use infinite scrolling for pagination. Each time it paginates it recreates the search form.

The page and the view were created using the Blocks editor, but after installing the "Classic Editor" plugin, the page has switched to use the classic editor, and there is no way to reconfigure the view.
On my local install, I deactivated the "Classic Editor" plugin in order to edit the page with the blocks editor. I selected the view and changed the configuration to "Pagination enabled with manual transition and AJAX". Check the screenshot hidden link

I tried to do the same on the staging site but I could not. The page is still opened with the classic editor even after deactivating the "Classic Editor" plugin. I would suspect that a server-level caching is preventing the page to be opened with the blocks editor.

Depending on how you would like to continue building your pages(Blocks or Classic editor), I'll suggest that you build the view similarly. I mean:
- If you want to build pages using the classic editor, create the view using the Toolset legacy editor.
- If you want to build pages using the blocks editor, you can create the view using blocks or the Toolset legacy editor.

I hope this helps. Let me know if you have any questions.

#1833285

My issue is resolved now. Thank you!