From b45d352e7becffb078745d09d097255b5d5ea40c Mon Sep 17 00:00:00 2001 From: Ishpaul Singh Date: Sat, 18 Jan 2025 04:58:19 +0530 Subject: [PATCH] Update tooltip style to conditionally apply pointer events based on tooltip type --- src/styles/utils/generators/TooltipStyleUtils/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/styles/utils/generators/TooltipStyleUtils/index.ts b/src/styles/utils/generators/TooltipStyleUtils/index.ts index d169b0da0f25..49fae043386e 100644 --- a/src/styles/utils/generators/TooltipStyleUtils/index.ts +++ b/src/styles/utils/generators/TooltipStyleUtils/index.ts @@ -241,7 +241,7 @@ const createTooltipStyleUtils: StyleUtilGenerator = ( // We are adding this to prevent the tooltip text from being selected and copied on CTRL + A. ...styles.userSelectNone, - ...styles.pointerEventsNone, + ...(!isEducationTooltip ? styles.pointerEventsNone : {}), }, textStyle: { color: theme.textReversed,