From c49a8c17d0c6340ebb735f175ecab4fe07ed2b92 Mon Sep 17 00:00:00 2001 From: Szymon Wiszczuk Date: Mon, 19 Sep 2022 22:49:18 +0200 Subject: [PATCH] fix(Modal): apply 'show' class when animation = false --- src/Modal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Modal.tsx b/src/Modal.tsx index ac7a6ad024..980c6dfaf5 100644 --- a/src/Modal.tsx +++ b/src/Modal.tsx @@ -458,6 +458,7 @@ const Modal: BsPrefixRefForwardingComponent<'div', ModalProps> = className, bsPrefix, animateStaticModal && `${bsPrefix}-static`, + !animation && 'show', )} onClick={backdrop ? handleClick : undefined} onMouseUp={handleMouseUp}