pengx17
2024-08-29 16:45:23 +00:00
parent adf314d594
commit f544e69d02
2 changed files with 10 additions and 1 deletions
@@ -142,7 +142,9 @@ export const ModalInner = forwardRef<HTMLDivElement, ModalProps>(
children,
contentWrapperClassName,
contentWrapperStyle,
animation = 'fadeScaleTop',
animation = environment.isBrowser && environment.isMobile
? 'slideBottom'
: 'fadeScaleTop',
...otherProps
} = props;
const { className: closeButtonClassName, ...otherCloseButtonProps } =