-
-
Notifications
You must be signed in to change notification settings - Fork 46.9k
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
Tooltip and Popover do not work on disabled buttons in Chrome-based browsers #36283
Comments
You may look for issues: |
I'm hardly able to reproduce this issue consistently, even in the Storybook, I'm not sure what's going on :T |
I think it will happen when you move mouse from a tooltipless one to a tooltip one directly. No matter it is a disabled one or not. |
Resolved this issue in ant-design/components/tooltip/index.tsx Lines 83 to 86 in a2c7ea4
|
+1 getting same issue on
|
Wrap the button in a div. It should work. Hover events are disabled when the button is disabled. |
Reproduction link
Steps to reproduce
Use a disabled button inside as child of a Tooltip or Popover.
Hover over the button with the mouse.
What is expected?
The Tooltip box or Popover box should appear.
What is actually happening?
Most of the time, nothing happens.
This bug does not affect Firefox. This bug shows in Storybook.
Similar issues:
The solution proposed in issue 30191 of wrapping the button in a div does not work.
The text was updated successfully, but these errors were encountered: