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

[bug]: Tooltip have a problem with the index #5031

Open
2 tasks done
LucasLuisBorges opened this issue Sep 30, 2024 · 0 comments
Open
2 tasks done

[bug]: Tooltip have a problem with the index #5031

LucasLuisBorges opened this issue Sep 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@LucasLuisBorges
Copy link

Describe the bug

Screenshot_1

<Tooltip>
      <TooltipTrigger className="w-full">
        <Button variant="ghost" className="flex w-full justify-center gap-2">
          <IconComponent className="h-4 w-4" />
        </Button>
      </TooltipTrigger>
      <TooltipContent side="right">
        <p>{text}</p>
      </TooltipContent> 
     </Tooltip>

The problem is that it always stays below, even though I put a higher z-index

Affected component/components

Tooltip

How to reproduce

  1. Clone component
  2. Usage component

Codesandbox/StackBlitz link

No response

Logs

No response

System Info

Windows, Arc and Brave

Before submitting

  • I've made research efforts and searched the documentation
  • I've searched for existing issues
@LucasLuisBorges LucasLuisBorges added the bug Something isn't working label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant