Skip to content

Commit

Permalink
fix: tweak default tooltip motion values
Browse files Browse the repository at this point in the history
  • Loading branch information
robinpyon committed Nov 29, 2023
1 parent d976c65 commit 6ba3913
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/core/primitives/tooltip/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,8 @@ export const Tooltip = forwardRef(function Tooltip(
<motion.div
initial={{opacity: 0.5, scale: 0.95}}
animate={{opacity: 1, scale: 1}}
exit={{opacity: 0, scale: 0.95, transition: {duration: 0.4, type: 'spring'}}}
exit={{opacity: 0, scale: 0.95}}
transition={{duration: 0.3, type: 'spring'}}
>
{children}
</motion.div>
Expand Down

1 comment on commit 6ba3913

@vercel
Copy link

@vercel vercel bot commented on 6ba3913 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

sanity-ui-storybook – ./

sanity-ui-storybook.sanity.build
sanity-ui-storybook-git-alpha.sanity.build

Please sign in to comment.