Skip to content

Commit

Permalink
Merge pull request #2312 from gluestack/fix/menu-animation
Browse files Browse the repository at this point in the history
fix: menu animation
  • Loading branch information
ankit-tailor authored Jul 16, 2024
2 parents 590c15e + c10c0cb commit ede5a3e
Showing 1 changed file with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,21 +119,19 @@ const Menu = React.forwardRef(
ref={ref}
initial={{
opacity: 0,
scale: 0.8,
}}
animate={{
opacity: 1,
scale: 1,
}}
exit={{
opacity: 0,
scale: 0.8,
}}
transition={{
type: 'spring',
damping: 18,
stiffness: 250,
opacity: {
type: 'timing',
duration: 200,
},
type: 'timing',
duration: 100,
}}
className={menuStyle({
class: className,
Expand Down

0 comments on commit ede5a3e

Please sign in to comment.