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

The tooltip is hidden by the parent tag using overflow-auto #1188

Open
Cudtad opened this issue Apr 15, 2024 · 1 comment
Open

The tooltip is hidden by the parent tag using overflow-auto #1188

Cudtad opened this issue Apr 15, 2024 · 1 comment
Labels

Comments

@Cudtad
Copy link

Cudtad commented Apr 15, 2024

I want to tooltip the child tag, but the parent tag is using overflow-auto, causing the phenomenon below. What do I need to do to fix this problem? (This issue only appears on websites accessed by mobile)

IMG_1069

@gabrieljablonski
Copy link
Member

Sorry for the late response. Missed the notification for this issue.

You have two options:

  1. Use the posititionStrategy prop on the tooltip.
<Tooltip positionStrategy="fixed" />
  1. Move the tooltip component outside of your overflow parent. This shouldn't affect the tooltip positioning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants