Skip to content

Commit

Permalink
fix(Modal): apply 'show' class when animation = false (#6447)
Browse files Browse the repository at this point in the history
  • Loading branch information
golota60 committed Sep 19, 2022
1 parent 9ba8c7c commit 8f5e903
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Modal.tsx
Expand Up @@ -458,6 +458,7 @@ const Modal: BsPrefixRefForwardingComponent<'div', ModalProps> =
className,
bsPrefix,
animateStaticModal && `${bsPrefix}-static`,
!animation && 'show',
)}
onClick={backdrop ? handleClick : undefined}
onMouseUp={handleMouseUp}
Expand Down

0 comments on commit 8f5e903

Please sign in to comment.