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 - [Table] - Th tooltip does not work as documented #9658

Closed
christianvogt opened this issue Sep 22, 2023 · 0 comments · Fixed by #9803
Closed

Bug - [Table] - Th tooltip does not work as documented #9658

christianvogt opened this issue Sep 22, 2023 · 0 comments · Fixed by #9803
Assignees
Milestone

Comments

@christianvogt
Copy link
Contributor

christianvogt commented Sep 22, 2023

Describe the problem
https://www.patternfly.org/components/table#th

Table Th has prop tooltip of type React.ReactNode with desctiption:

Tooltip to show on the header cell. Note: If the header cell is truncated and has simple string content, it will already attempt to display the header text. If you want to show a tooltip that differs from the header text, you can set it here. To disable it completely you can set it to null.

Unfortunately supplying the tooltip prop to the Th does not produce a tooltip.

How do you reproduce the problem?
Simply add tooltip="something" to any of the examples in the PF docs page and observe that no tooltip is present on hover of the table header cell.

Expected behavior
Expected a tooltip to be present.

Is this issue blocking you?
Not blocking.
Workaround is to wrap Th with a Tooltip.

Not ideal that the workaround points the tooltip at the cell instead of the contents when it's a checkbox:
image

@github-project-automation github-project-automation bot moved this to Needs triage in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Needs triage to Backlog in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Backlog to Needs triage in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Needs triage to Backlog in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Backlog to Needs triage in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Needs triage to Backlog in PatternFly Issues Sep 22, 2023
@wise-king-sullyman wise-king-sullyman moved this from Backlog to Not started in PatternFly Issues Oct 27, 2023
@kmcfaul kmcfaul moved this from Not started to In Progress in PatternFly Issues Nov 6, 2023
@thatblindgeye thatblindgeye moved this from In Progress to PR Review in PatternFly Issues Nov 9, 2023
@github-project-automation github-project-automation bot moved this from PR Review to Done in PatternFly Issues Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants