Select to view content in your preferred language

Overflowing combobox inputs

229
0
07-05-2023 01:42 AM
dndhm
by
New Contributor

Hi,

I have already raised a support ticket for this, but has anyone else run into the issue of overflowing ComboBoxes and found an elegant workaround? The issue arises when a combobox has enough items to be too tall for its container. The underlying Calcite component has a max-items attribute which allows the combobox to scroll at an arbitrary height, but the JS SDK ComboBoxInput class doesn't expose this as an argument, so we have no control over the scroll height of the rendered calcite-combobox.

I'd like to avoid writing hacks around this stuff, so ideally, this would be solved by maxItems being exposed as a constructor argument on ComboBoxInput

Screenshot 2023-07-05 at 09.42.20.png

0 Kudos
0 Replies