Change default popup transition

This commit is contained in:
jeffvli 2023-07-15 11:19:27 -07:00
parent 8129a3994b
commit 3b5dff795f
2 changed files with 4 additions and 1 deletions

View file

@ -86,6 +86,9 @@ export const DropdownMenu = ({ children, ...props }: MenuProps) => {
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
},
}}
transitionProps={{
transition: 'pop',
}}
{...props}
>
{children}

View file

@ -27,7 +27,7 @@ export const Popover = ({ children, ...props }: PopoverProps) => {
filter: 'drop-shadow(0 0 5px rgb(0, 0, 0, 50%))',
},
}}
transitionProps={{ transition: 'fade' }}
transitionProps={{ transition: 'pop' }}
{...props}
>
{children}