designsystemet
designsystemet copied to clipboard
fix(combobox): only set `aria-controls` when open, fix reference id to list
DO NOT MERGE THIS TO MAIN
This has been synced in our next branch with PR ##2576
resolves #2552
This solves the issue by not adding aria-controls
until the popup is visible (and in the DOM).
This also makes use of floating uis internal id, so the id is also correct.