digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
68 stars 34 forks source link

Error with combobox virtualization #2106

Closed PieNappl3 closed 3 weeks ago

PieNappl3 commented 4 weeks ago

Description of the bug

when virtualization is on in combobox and you try searching for a value the page crashes issue is also present in storybook https://storybook.designsystemet.no/?path=/story/komponenter-combobox--virtualized and in storybook for thousands of options

seems to not be bugged if there are few enough options so might be related to having more than 1 virtual page

Steps To Reproduce

create combobox with a lot of comboboxoptions enable virtualization start typing to search for an option

Additional Information

No response

Barsnes commented 4 weeks ago

Hi, thanks for the bug report! I have noticed this as well - but have not gotten around to make an issue for it yet. I am waiting for #2095 to be merged before I will start work on this.