Post by djordje » Mon Jul 08, 2024 10:03 pm

Hi everyone,

I would like to have the option to scroll through the autocomplete results that appear in a dropdown when searching for something.

Looking trough the forum I found the following code, but don't know where to put it to make it work since the original post didn't mention it.

.dropdown-menu {
max-height: 250px;
max-width: 450px;
overflow-x: hidden; /* avoid horizontal scrolling */
}

.ui-autocomplete{
max-height: 200px;
overflow-y: auto;
overflow-x: hidden;
}

Could anybody help me out?

I'm using OpenCart 3.0.3.9

User avatar
New member

Posts

Joined
Fri Oct 14, 2016 4:23 pm


Post by JNeuhoff » Mon Jul 08, 2024 11:35 pm

This would require some modifications. By default it uses jquery autocomplete calls, with a limited number of results, to be narrowed down by typing in more characters to the search term.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by djordje » Tue Jul 09, 2024 3:07 am

I was able to install a modification to increase the number of results shown, but now I need to scroll down to see all of them. Do you know where I can do that?

User avatar
New member

Posts

Joined
Fri Oct 14, 2016 4:23 pm

Who is online

Users browsing this forum: No registered users and 15 guests