question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`tooltip` property on disabled DropdownItem does not work

See original GitHub issue

tooltip property on disabled DropdownItem does not work

      <DropdownItem key="disabled link" tooltip={<Tooltip>test</Tooltip>} isDisabled description="Disabled link description">
        Disabled Link
      </DropdownItem>

So the above code snippet will not show any tooltip.

Probably related to #1894

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tlabajcommented, Oct 5, 2021

this issue will be cover by issue #5826

0reactions
cbencommented, Aug 9, 2021

Dup of #5826 (not 5286). Solved now — use latest packages to include #6038 and use isAriaDisabled instead of isDisabled. #6109 remains about screen readers but not related to disabling.

(Similar support for isAriaDisabled is available on some other components e.g. Button, ref #1894 for the big picture)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltip examples are not accessible on dropdown items. #6109
Whether aria-disabled or completely enabled, tooltips are not screen reader accessible when placed on a dropdown item.
Read more >
Adding tooltip to disabled Dropdown.Toggle - Stack Overflow
You can directly check the state property( disabled ) when the particular function is called with onClick event on Dropdown component.
Read more >
How to show tooltip on dropdownlist if dropdownlist enable ...
I have to show tooltip on this dropdownlist, i tried onmouseover event by java script code but it's not working.
Read more >
Dropdown Overview & API - ServiceNow Developers
A dropdown is a partially hidden panel element that is used to display a list of menu options. A user selects the dropdown...
Read more >
Tooltip - Gestalt is Pinterest's design system
Tooltip is a floating text label that succinctly describes the function of an ... Don't. Pair Tooltip with a disabled element. See disabled...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found