Skip to content

Commit

Permalink
[@mantine/core] Modal: Fix default Modal.Root transition being differ…
Browse files Browse the repository at this point in the history
…ent from Modal component (#6967)
  • Loading branch information
rtivital committed Oct 16, 2024
1 parent d0dd9fb commit e8b7056
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@mantine/core/src/components/Modal/ModalRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const defaultProps: Partial<ModalRootProps> = {
closeOnEscape: true,
keepMounted: false,
zIndex: getDefaultZIndex('modal'),
transitionProps: { duration: 200, transition: 'pop' },
transitionProps: { duration: 200, transition: 'fade-down' },
yOffset: '5dvh',
};

Expand Down

0 comments on commit e8b7056

Please sign in to comment.