Skip to content

Commit

Permalink
feat #230 - tooltip opens onClick
Browse files Browse the repository at this point in the history
  • Loading branch information
sam-dassana committed Mar 10, 2021
1 parent e24e1be commit db4ee2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/components/Table/MultipleIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,15 @@ export const MultipleIcons: FC<Props> = ({
isInsideTooltip: true,
sliceStartIndex: truncateLength
})}
triggerMode='click'
>
<span className={classes.count}>
<span
className={classes.count}
onClick={e =>
// this is to prevent the entire row from being clicked
e.stopPropagation()
}
>
+{iconPropsArr.length - truncateLength}
</span>
</Tooltip>
Expand Down

0 comments on commit db4ee2d

Please sign in to comment.