solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

Popover does not work in sidebar component

Open AuroraLantean opened this issue 7 months ago • 0 comments

My Popover3 in my usual component works fine: https://github.com/AuroraLantean/solidstart-shadcn-demo1/blob/dbc209e40bcfc8bdc1847c7a51de72f1b57b1673/src/components/Output.tsx#L49

But Popover1 and Popover2 in my SidebarDesktop component do not work!? Popover1 https://github.com/AuroraLantean/solidstart-shadcn-demo1/blob/acb3eb41d6efce7377fd67d22c1df294139360cc/src/components/SidebarDesktop.tsx#L29

Popover2 https://github.com/AuroraLantean/solidstart-shadcn-demo1/blob/acb3eb41d6efce7377fd67d22c1df294139360cc/src/components/SidebarDesktop.tsx#L45

I tried changing the SidebarDesktop returned tag from <aside> to <div>, but that does not work. What is missing? Is there certain restrictions on where to use Popover ? Please advise. Thanks

AuroraLantean avatar Jul 06 '24 09:07 AuroraLantean