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 - Dropdown/Select/MenuContainer - tooltips do not work by default in items #11358

Open
kmcfaul opened this issue Dec 18, 2024 · 1 comment
Labels
Milestone

Comments

@kmcfaul
Copy link
Contributor

kmcfaul commented Dec 18, 2024

Because Tooltip wraps the trigger in a div, this interferes with the trigger/hover conditions so a tooltip will not appear. We should make it so Dropdown (and probably Select/MenuContainer will need this as well) creates an internal ref to use by default for tooltips, or we should make it so Tooltip does that internally.

Workaround: Create a reference, pass the ref to DropdownItem and the triggerRef field of tooltipProps.

Aside: Keyboard navigation still shows the tooltip, it is only the mouse that doesn't trigger it.

@kmcfaul
Copy link
Contributor Author

kmcfaul commented Dec 18, 2024

Identified from OCP migration.

@thatblindgeye thatblindgeye changed the title Bug - Dropdown/Tooltip - tooltips do not work by default in dropdown items Bug - Dropdown/Select/MenuContainer - tooltips do not work by default in dropdown items Jan 9, 2025
@thatblindgeye thatblindgeye changed the title Bug - Dropdown/Select/MenuContainer - tooltips do not work by default in dropdown items Bug - Dropdown/Select/MenuContainer - tooltips do not work by default in items Jan 9, 2025
@thatblindgeye thatblindgeye moved this from Needs triage to Backlog in PatternFly Issues Jan 9, 2025
@thatblindgeye thatblindgeye added this to the 2025.Q1 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

2 participants