ui icon indicating copy to clipboard operation
ui copied to clipboard

Can't use input inside alert dialog wrapped by dropdown menu

Open p4rtridge opened this issue 2 years ago • 1 comments

I have component like this.

<DropdownMenu>
 <DropdownMenuTrigger>test</DropdownMenuTrigger>
 <DropdownMenuContent>
    <AlertDialog>
       <AlertDialogTrigger>input</AlertDialogTrigger>
          <AlertDialogContent>
            <Input type="text" />
          </AlertDialogContent>
    </AlertDialog>
 </DropdownMenuContent>
</DropdownMenu>
          ```

The problem is I can't interact to Input. How can I fix this? Thanks

p4rtridge avatar Oct 15 '23 09:10 p4rtridge

I encountered a similar issue and was able to resolve it by updating the @radix-ui/react-dropdown-menu package from version 2.0.5 to version 2.0.6.

HelNershingThapa avatar Oct 31 '23 10:10 HelNershingThapa

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

shadcn avatar Feb 23 '24 23:02 shadcn