Is there a way to restrict the height of the dataset dropdown list in HTML? When using <input list="datalist">
with numerous elements, some might not be visible. Is it possible to limit the size of the list and enable vertical scrolling to display all options?
I've tried searching online for a solution but only found that this is a known issue without a fix. The recommendation was to use jquery-ui combobox instead, but switching would require significant effort due to existing Javascript logic built around datasets.
Are there any workarounds to achieve a restricted list height in HTML5?