Enabling scrollbar in a ComboBox component

Hi,

I see, a ComboBox component in Vaadin has a pretty scrollbox, like this:

vaadin_combobox

But in jmix by default I get this, which is not so convenient when I have a long options list:

jmix_combobox

How could I enable a usual scrollbar in a combobox?

Hi Vadim,

The first image shows Vaadin Flow component, while the second one is from Jmix Classic UI, which is based on the previous Vaadin version.

You should use Jmix Flow UI to get the same experience as in latest Vaadin.

1 Like

Hi Vadim,

You can try project with Flow UI, but If you still need to configure this behavior in classic UI, you can set attribute pageLength=“0”, but it won’t look very good (see the screenshot).
image

As a last resort, you can try to implement your custom component.

1 Like

Ah, I see. Thank you!

Thanks, perhaps a custom component would be the best choice, I’ll try that!

1 Like