-
Notifications
You must be signed in to change notification settings - Fork 173
Open
Description
Target Use Case
I'm posting the case as a feature, but it's basically a bug - just not in this library, but in the Google component itself, and I hope you can implement a solution for this.
I'm trying to display the "Autocomplete" component on a dialog with the ready-made shadcn ui component:
import * as DialogPrimitive from "@radix-ui/react-dialog" function Dialog({ ...props }: React.ComponentProps<typeof DialogPrimitive.Root>) { return <DialogPrimitive.Root data-slot="dialog" {...props} /> }
But a problem arises that after the window opens, the name suggestion menu cannot be selected by clicking the mouse, but only by navigating with arrows and the Enter key.
I tried first directly with the Google API and then with your example component, but it doesn't help because the problem lies in the fact that Google inserts the element in the body and this creates conflicts with the dialog.
I hope you can address this case,
Thank you.
Proposal
Not relevant.
Metadata
Metadata
Assignees
Labels
No labels