We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 40c96e8 + fafd8d3 commit 69782adCopy full SHA for 69782ad
src/styles/utils/generators/TooltipStyleUtils/index.ts
@@ -245,7 +245,11 @@ const createTooltipStyleUtils: StyleUtilGenerator<GetTooltipStylesStyleUtil> = (
245
246
// We are adding this to prevent the tooltip text from being selected and copied on CTRL + A.
247
...styles.userSelectNone,
248
- ...styles.pointerEventsNone,
+
249
+ // Hovering over a link tooltip in a chat message causes the "report action" hover state to reset to false.
250
+ // To prevent this, we disable pointer events for the tooltip.
251
+ // However, an exception is needed for educational tooltips since they are interactive.
252
+ ...(!isEducationTooltip ? styles.pointerEventsNone : {}),
253
},
254
textStyle: {
255
color: theme.textReversed,
0 commit comments