Skip to content

Commit

Permalink
Merge pull request #1459 from blockscout/increase-tooltip-opening-delay
Browse files Browse the repository at this point in the history
Increase tooltip opening delay
  • Loading branch information
maxaleks authored Dec 25, 2023
2 parents 4f954c5 + 3318feb commit 87b700d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/snippets/profileMenu/ProfileMenuDesktop.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const ProfileMenuDesktop = ({ isHomePage }: Props) => {
textAlign="center"
padding={ 2 }
isDisabled={ hasMenu }
openDelay={ 300 }
openDelay={ 500 }
>
<Box>
<PopoverTrigger>
Expand Down
2 changes: 1 addition & 1 deletion ui/snippets/walletMenu/WalletTooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const WalletTooltip = ({ children, isDisabled, isMobile }: Props) => {
textAlign="center"
padding={ 2 }
isDisabled={ isDisabled }
openDelay={ 300 }
openDelay={ 500 }
isOpen={ isTooltipShown || (isMobile ? false : undefined) }
onClose={ setIsTooltipShown.off }
display={ isMobile ? { base: 'flex', lg: 'none' } : { base: 'none', lg: 'flex' } }
Expand Down

0 comments on commit 87b700d

Please sign in to comment.