Change dropdown transitions back to fade

This commit is contained in:
jeffvli 2023-08-04 03:28:42 -07:00
parent d0aba6e16e
commit 14453a8524
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import { ReactNode } from 'react';
import type {
MenuProps as MantineMenuProps,
MenuItemProps as MantineMenuItemProps,
@ -14,7 +15,7 @@ type MenuLabelProps = MantineMenuLabelProps;
interface MenuItemProps extends MantineMenuItemProps {
$danger?: boolean;
$isActive?: boolean;
children: React.ReactNode;
children: ReactNode;
}
type MenuDividerProps = MantineMenuDividerProps;
type MenuDropdownProps = MantineMenuDropdownProps;
@ -87,7 +88,7 @@ export const DropdownMenu = ({ children, ...props }: MenuProps) => {
},
}}
transitionProps={{
transition: 'pop',
transition: 'fade',
}}
{...props}
>

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: 'pop' }}
transitionProps={{ transition: 'fade' }}
{...props}
>
{children}