- Priority: 0
- Status: Closed
- Theme: Venedor
-
Assigned To:
Fred
- Private: No
- Open Date: 09.02.21, 14:53
- Opened by: ERIC NATHAN
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #20708 - Search bar omits keystrokes
Hi Fred,
On https://www.plateformeexportmedical.com/, when I use the searchbar and the module indicates it is searching, some keystrokes do not register.
To replicate:
For instance, if I type “Fauteuil”, wait a few seconds, then type “dentaire”, it will only register “Fauteuil denre”.
The issue does not appear when using a different browser than Firefox, so I thought it might be linked to Firefox’s cache.
Is there any way to avoid making users clear their cache before being able to properly use the search bar?
Thanks,
Eric.
Comments
Hi, Eric.
Sorry for the delay.
I have tested the search out in different browsers and it always works the same, here is the result of “dentaire” search after “Fauteuil” - https://take.ms/xXqkf
Hi Fred
Thanks for your answer.
My message was not clear enough: you have to type “Fauteuil”, wait a moment, then type “dentaire” after “Fauteuil”.
Hence, the search will be “Fauteuil dentaire”, not “Fauteuil” then another search with “dentaire”.
The issue is that if you type too fast, the search bar won’t register all your keystrokes.
The image shows the result when typing “dentaire” after “fauteuil”, when you wait one or two seconds between typing the two words.
Attachments:
Capture.PNG(34.8 KiB)Fred, What I meant, is when you use the search bar, it activates some code that slows down your typing. As a result some letters are missing in the search.
Hi, Eric.
I see how it works, it tries to load suggestions, but that is a native prestashop option. But I don’t see described issue, tested out in Chrome and Safari browsers.
What browser do you use?
I use firefox,
Anyway tell me if you have any ideas.
Could you please test it out now? I have updated search script
Hi Fred !
The letters are not missing anymore, but no suggestion appear while searching.
Sometimes one pops up but most of the time no suggestion appears. I tested it on Firefox, Chrome and Edge
It works for me https://take.ms/i0ZM0