Skip to content

Commit 256ec5c

Browse files
committed
feat: add click event handler to prevent tooltip propagation in TargetPlatformListTooltip component
1 parent d05587b commit 256ec5c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Shared/Components/TargetPlatforms/TargetPlatformListTooltip.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import { Tooltip } from '@Common/Tooltip'
2+
import { stopPropagation } from '@Common/Helper'
23
import { TargetPlatformListTooltipProps } from './types'
34

45
const TooltipContent = ({ targetPlatforms }: Pick<TargetPlatformListTooltipProps, 'targetPlatforms'>) => (
5-
<div className="flexbox-col dc__gap-4">
6+
<div className="flexbox-col dc__gap-4 cursor-text" onClick={stopPropagation}>
67
<h6 className="m-0 fw-6 lh-18 fs-12">Target platforms</h6>
78

89
<ul className="pl-12 m-0 dc__overflow-auto mxh-140">

0 commit comments

Comments
 (0)