diff --git a/src/ComboBox/ComboBox.svelte b/src/ComboBox/ComboBox.svelte index e4fe96f9..9117dd4d 100644 --- a/src/ComboBox/ComboBox.svelte +++ b/src/ComboBox/ComboBox.svelte @@ -106,6 +106,12 @@ * @type {null | HTMLInputElement} [ref=null] */ export let ref = null; + + /** + * Obtain a reference to the list HTML element + * @type {null | HTMLElement} [ref=null] + */ + export let listRef = null /** * @typedef {{ id: string; text: string; }} ComboBoxItem @@ -284,7 +290,7 @@ /> {#if open} - + {#each filteredItems as item, i (item.id)}