[OverflowMenuItem] itemText cannot put Tooltip component
See original GitHub issueWhat package(s) are you using?
"carbon-components": "10.22.0",
"carbon-components-react": "7.22.0",
-
carbon-components
-
carbon-components-react
Detailed description
Describe in detail the issue you’re having.
Is this issue related to a specific component?
What did you expect to happen? What happened instead? What would you like to see changed?
What browser are you working in?
What version of the Carbon Design System are you using?
What offering/product do you work on? Any pressing ship or release dates we should be aware of?
Steps to reproduce the issue
- Use OverflowMenu, OverflowMenuItem component in DataTable TableCell.
- The whole OverflowMenu cannot open anymore.
Sandbox reproduce: https://codesandbox.io/s/overflow-menu-with-tooltip-8iykr?file=/src/index.js
Additional information
- Screenshots or code
- Notes
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
Material UI tooltip doesn't display on custom component ...
I'll suggest Two solutions for the problem: Surround PlannerIcon with div as a parent element (div can hold a ref): <Tooltip text="Planner"> ...
Read more >Overflow menu – Carbon Design System
Overflow menus are used when additional options are available to the user and there is a space constraint.
Read more >React Tooltip component - Material UI - MUI
Tooltips display informative text when users hover over, focus on, or tap an element.
Read more >KivyMD's documentation
e.g. You can have Blue but you cannot have NavyBlue. Add the custom theme to the MDApp as shown in the following snippet....
Read more >Tooltips - reactstrap
reactstrap - easy to use React Bootstrap 4 components compatible with React 0.14.x and 15.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
OverflowMenu items that are disabled are not in the tab order, so a keyboard user would not be able to navigate to this item and it would cause an a11y violation. That is why this pattern is not recommended.
I don’t believe
Tooltip
is supported inside of an overflow menu. Overflow menu actions should be short, concise actions that do not need additional information. You could place the tooltip outside of the menu if more information is needed.Please see this link for more info: https://www.carbondesignsystem.com/components/overflow-menu/usage#formatting