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 does not render when inside TableHeader #13918

Closed
2 tasks done
francinelucca opened this issue Jun 2, 2023 · 3 comments
Closed
2 tasks done

[Bug]: Tooltip does not render when inside TableHeader #13918

francinelucca opened this issue Jun 2, 2023 · 3 comments

Comments

@francinelucca
Copy link
Collaborator

Package

@carbon/react

Browser

Chrome

Package version

1.30.0

React version

18.2.0

Description

Cannot see tooltip when hovering over TableHeader

Reproduction/example

https://stackblitz.com/edit/github-9tf2bv-nk1cpf?file=src%2FApp.jsx,package.json

Steps to reproduce

1 - Hover over header
2 - notice no tooltip is displayed

Suggested Severity

Severity 2 = User cannot complete task, and/or no workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

@vlukashov
Copy link

vlukashov commented Aug 28, 2023

Same issue when the the Tooltip is inside a TableCell: https://stackblitz.com/edit/github-9tf2bv-4njhsj?file=src%2FApp.jsx,index.html

@tay1orjones
Copy link
Member

We've been seeing related issues and resolved them before, which may be helpful in determining a resolution for this: #14275

On a more broad level I think this would also be solved via #14139 but it's a bit farther off than a fix we could deliver specific to this use case in these components.

@andreancardona
Copy link
Contributor

Currently the tooltip only supports children as buttons as can be seen here: https://stackblitz.com/edit/github-9tf2bv-tev6uw?file=package.json

We will clear this up by updating the documentation. :)

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

No branches or pull requests

5 participants