Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shooting Stars + Stars Background #4

Open
luccas-freitas opened this issue Jul 31, 2024 · 0 comments
Open

Shooting Stars + Stars Background #4

luccas-freitas opened this issue Jul 31, 2024 · 0 comments

Comments

@luccas-freitas
Copy link

Can I use Shooting Stars + Stars Background inside a shadcn HoverCard?
On this way, the buttons are being not hoverable and I can't click on them:

function TestPage() {
  const links = ["link1", "link2", "link3"];

  return (
    <HoverCard>
      <HoverCardTrigger asChild>
        <Button variant="link">hover me</Button>
      </HoverCardTrigger>
      <HoverCardContent className="w-auto">
        {links.map((link) => (
          <div key={link}>
            <Button variant="link">
              <Link href={link}>{link}</Link>
            </Button>
          </div>
        ))}
        <ShootingStars />
        <StarsBackground />
      </HoverCardContent>
    </HoverCard>
  );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant