Page 1 of 1
Scrolling the autocomplete results.
Posted: Mon May 30, 2016 5:01 pm
by Ivakis_Solo
Hi, I'm in a need of a way to scroll the autocomplete result. I have on my opencart many categories with the same name and when I try to put a product in a category the autocomplete is not usable. Is there a way to make the autocomplete results scroll, I didn't find a mod for it in the extensions.
Re: Scrolling the autocomplete results.
Posted: Mon May 30, 2016 10:00 pm
by cyclops12
Didnt look very hard
Try
Here
Re: Scrolling the autocomplete results.
Posted: Thu Jun 02, 2016 8:10 pm
by Ivakis_Solo
I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!
Re: Scrolling the autocomplete results.
Posted: Fri Jun 03, 2016 4:16 am
by cyclops12
Ah i see what you mean now, sorry not sure on that one
hopefully someone will come along soon with an answer
Re: Scrolling the autocomplete results.
Posted: Wed Oct 12, 2016 9:20 pm
by 2valenki
Ivakis_Solo wrote:I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!
Hi Ivakis. Suppose you've resolved your issue, but I've been looking for the same lately and managed to come up with a working alteration. Just added this style and got the scrollable results! (don't forget to press Ctrl+F5 for cache cleaning)
.dropdown-menu {
max-height: 250px;
max-width: 450px;
overflow-x: hidden; /* avoid horizontal scrolling */
}
While searching a lot of suggestions to provide the following part of css code arised:
.ui-autocomplete{
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}
But this had to do with jquery autocomplete itself, not combined with Opencart. Doesn't work for me.
Hope this helps.
Re: Scrolling the autocomplete results.
Posted: Wed Oct 12, 2016 10:07 pm
by artcore
I'm sure your results have unique words so for instance if you have a categories like
"New and Used Cars (shift)"
"New and Used Cars (Automatic)"
etc more similar...
... try searching for %shift
Re: Scrolling the autocomplete results.
Posted: Fri Oct 30, 2020 7:55 pm
by kagomiko
2valenki wrote: ↑Wed Oct 12, 2016 9:20 pm
Ivakis_Solo wrote:I know about this mod and I use it. The problem is that when I set the autocomplete limit to 35 000 the admin panel is VERY slow and practically unusable.
What I need is a way to type "Съединители" in the category type box and then scroll the autocomplete results!
Hi Ivakis. Suppose you've resolved your issue, but I've been looking for the same lately and managed to come up with a working alteration. Just added this style and got the scrollable results! (don't forget to press Ctrl+F5 for cache cleaning)
.dropdown-menu {
max-height: 250px;
max-width: 450px;
overflow-x: hidden; /* avoid horizontal scrolling */
}
While searching a lot of suggestions to provide the following part of css code arised:
.ui-autocomplete{
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}
But this had to do with jquery autocomplete itself, not combined with Opencart. Doesn't work for me.
Hope this helps.
I'm thankful to you, this solved my problem
