Skip to content

Commit

Permalink
fix: mf-3901 disable interative for tooltip in social account list (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleBill committed Apr 4, 2023
1 parent ad58a3c commit 04d0743
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -12,6 +12,10 @@ interface StyleProps {

const useStyles = makeStyles<StyleProps>()((theme, { hidden = false }) => {
return {
title: {
padding: '6px 2px',
whiteSpace: 'nowrap',
},
tooltip: {
visibility: hidden ? 'hidden' : 'visible',
},
Expand All @@ -28,10 +32,11 @@ export function SocialTooltip({ children, hidden = false, platform = NextIDPlatf
return (
<ShadowRootTooltip
classes={{ tooltip: classes.tooltip }}
disableInteractive
arrow
placement="top"
title={
<Typography style={{ padding: '6px 2px', whiteSpace: 'nowrap' }} fontSize={14}>
<Typography className={classes.title} fontSize={14}>
{t.account_icon_tooltips({ source: resolveNextIDPlatformName(platform) })}
</Typography>
}>
Expand Down

0 comments on commit 04d0743

Please sign in to comment.