Open andreasnuesslein opened 1 year ago
Hello @rob-balfre :wave:
I stumbled over an issue trying to use the virtual list solution from your examples page (https://svelte-select-examples.vercel.app/examples/advanced/virtual-list)
I created a REPL where the only difference is, that i show the {value} underneath in the h1.
{value}
https://svelte.dev/repl/e42518d3efb04cbb8339c282c16d0031?version=3.59.1
When you select any item of the list, it works nicely, but when you filter the list and then select something the offset is gonna be the index but from the original items, not from the filteredItems.
items
filteredItems
Do you have a recommendation for that?
Cheers
Hello @rob-balfre :wave:
I stumbled over an issue trying to use the virtual list solution from your examples page (https://svelte-select-examples.vercel.app/examples/advanced/virtual-list)
I created a REPL where the only difference is, that i show the
{value}
underneath in the h1.https://svelte.dev/repl/e42518d3efb04cbb8339c282c16d0031?version=3.59.1
When you select any item of the list, it works nicely, but when you filter the list and then select something the offset is gonna be the index but from the original
items
, not from thefilteredItems
.Do you have a recommendation for that?
Cheers