base
base

Reputation: 111

Headless UI dropdown menu from Tailwind UI not closing

I copy and pasted the first Tailwind UI header component on this page

https://tailwindui.com/components/marketing/elements/headers

into a new Next.js Code Sandbox. On desktop view the product dropdown menu opens and closes fine.

But when I added text to the page. When you open the product menu and click outside any area it won't close.

https://codesandbox.io/p/devbox/elegant-maria-pg4thv?workspaceId=ws_5WE9DjQAEcB4RQSEtRHCUQ

Upvotes: 0

Views: 68

Answers (0)

Related Questions