Skip to content

Commit fc0f6e8

Browse files
authored
Fix tooltip on cash wallet component (#11995)
1 parent 470b513 commit fc0f6e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/web/src/pages/pay-and-earn-page/components/CashWallet.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ export const CashWallet = () => {
9595
<Tooltip
9696
text={walletMessages.cashBalanceTooltip}
9797
placement='top'
98-
mount='page'
98+
getPopupContainer={() =>
99+
document.getElementById('page') ?? document.body
100+
}
99101
shouldWrapContent={false}
100102
shouldDismissOnClick={false}
101103
css={{ zIndex: zIndex.CASH_WALLET_TOOLTIP }}

0 commit comments

Comments
 (0)