Skip to content

Commit

Permalink
Merge pull request #631 from dragon-slayer875/master
Browse files Browse the repository at this point in the history
[Tooltip] Update zindex and title display condition
  • Loading branch information
aabidsofi19 authored May 29, 2024
2 parents e1dcc41 + d5c662b commit 44eb969
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/custom/CustomTooltip/customTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ function CustomTooltip({
},
popper: {
sx: {
zIndex: 9999999999,
opacity: '1'
}
}
}}
title={<RenderMarkdownTooltip content={typeof title === 'string' ? title : ''} />}
title={typeof title === 'string' ? <RenderMarkdownTooltip content={title} /> : title}
placement={placement}
arrow
onClick={onClick}
Expand Down

0 comments on commit 44eb969

Please sign in to comment.