Skip to content

Commit 2967622

Browse files
driskullbenelan
authored andcommitted
fix(tooltip): fix closeOnClick property in Safari (#10737)
**Related Issue:** #10715 ## Summary - fixes closeOnClick for the Safari browser
1 parent 445478d commit 2967622

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

packages/calcite-components/src/components/tooltip/TooltipManager.ts

+6
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,12 @@ export default class TooltipManager {
167167
return;
168168
}
169169

170+
if (tooltip === this.clickedTooltip) {
171+
return;
172+
}
173+
174+
this.clickedTooltip = null;
175+
170176
this.closeTooltipIfNotActive(tooltip);
171177

172178
if (!tooltip) {

0 commit comments

Comments
 (0)