Box results height

Hello,
i’m using select2 with dropdown with custom template.
The select start without option and display only search box;
during the search is displayed options like this image:
screenshot
As you can see, in results box is displayed only one option.
Is it possible to enlarge height of result box?

I just tried with css but it doesn’t work fine :frowning:
Can anyone help me?
Thanks.

Renato

Good morning,
please can someone have idea if can it be done or not?

thanks

It does not seem that you can control the size of the results dropdown with the options available in the Select2 configuration API. The only way I can think of to do what you want is to supply your own DropdownAdapter implementation. Unfortunately there is not much documentation about how to write adapters for Select2. Your best bet would probably be to get the default DropdownAdapter source code from the Select2 GitHub repo and modify it to do what you want.

Hello John30013,
thanks for the suggestions, unfortunately I don’t think I’m able to make these changes :frowning:

thanks anyway!