mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(modal): content when no animated
This commit is contained in:
parent
6bf21ad1ac
commit
2da9d4a8c9
@ -78,7 +78,7 @@ const ModalContent = forwardRef<ModalContentProps, "section">((props, _) => {
|
||||
<div tabIndex={-1}>
|
||||
{backdrop}
|
||||
{disableAnimation ? (
|
||||
<div className={slots.wrapper({class: classNames?.wrapper})}>content</div>
|
||||
<div className={slots.wrapper({class: classNames?.wrapper})}>{content}</div>
|
||||
) : (
|
||||
<motion.div
|
||||
animate="enter"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user