Skip to content

Commit 44eb969

Browse files
authored
Merge pull request #631 from dragon-slayer875/master
[Tooltip] Update zindex and title display condition
2 parents e1dcc41 + d5c662b commit 44eb969

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/custom/CustomTooltip/customTooltip.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,12 @@ function CustomTooltip({
3939
},
4040
popper: {
4141
sx: {
42+
zIndex: 9999999999,
4243
opacity: '1'
4344
}
4445
}
4546
}}
46-
title={<RenderMarkdownTooltip content={typeof title === 'string' ? title : ''} />}
47+
title={typeof title === 'string' ? <RenderMarkdownTooltip content={title} /> : title}
4748
placement={placement}
4849
arrow
4950
onClick={onClick}

0 commit comments

Comments
 (0)