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

Table action description only shown as a tooltip when action is enabled #8134

Open
s-nel opened this issue Nov 12, 2024 · 0 comments
Open

Table action description only shown as a tooltip when action is enabled #8134

s-nel opened this issue Nov 12, 2024 · 0 comments
Assignees
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible

Comments

@s-nel
Copy link
Contributor

s-nel commented Nov 12, 2024

Describe the bug
In the docs the description of a DefaultItemAction is described as

Describes the action (will render as tooltip content)

However if the action is disabled (enabled: false), the description is not displayed as a tooltip but the browser default label

Impact and severity
Minimal impact. Workaround exists to customize the rendering.

Environment and versions

  • EUI version: 97.3.1
  • React version: 11.11
  • Kibana version (if applicable):
  • Browser: Chrome
  • Operating System: MacOS

To Reproduce
Have an action with enabled: false and a description. Hover over the action and notice that the description is not rendered in a tooltip

Expected behavior
Both enabled and disabled actions should show the description in a tooltip

Minimum reproducible sandbox
https://codesandbox.io/p/sandbox/upbeat-einstein-q72t6p

Screenshots

Screen.Recording.2024-11-13.at.11.38.06.AM.mov

Additional context

@s-nel s-nel added bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible labels Nov 12, 2024
@JasonStoltz JasonStoltz self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug ⚠️ needs validation For bugs that need confirmation as to whether they're reproducible
Projects
None yet
Development

No branches or pull requests

2 participants