We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9c13ff commit 4a95fb7Copy full SHA for 4a95fb7
2 files changed
packages/react/src/components/Button/Button.js
@@ -106,6 +106,7 @@ const Button = React.forwardRef(function Button(
106
107
const handleClick = (evt) => {
108
// Prevent clicks on the tooltip from triggering the button click event
109
+ setAllowTooltipVisibility(false);
110
if (evt.target === tooltipRef.current) {
111
evt.preventDefault();
112
return;
packages/react/src/components/TooltipIcon/TooltipIcon.js
@@ -98,6 +98,7 @@ const TooltipIcon = ({
98
};
99
100
101
102
103
104
0 commit comments