diff --git a/src/components/select/select.tsx b/src/components/select/select.tsx index de9271e5..5a38ec37 100644 --- a/src/components/select/select.tsx +++ b/src/components/select/select.tsx @@ -135,6 +135,11 @@ function ListBox(props: ListBoxProps) { const { listBoxRef = ref, state } = props; const { listBoxProps } = useListBox(props, state, listBoxRef); + // As this is inside a portal (within ), nothing from Preact's useId can be trusted + // ...but nothing should be using these IDs anyway. + listBoxProps["id"] = undefined; + listBoxProps["aria-labelledby"] = undefined; + return (