From 446ec71522fb02fc2050985ce0111b32162e56af Mon Sep 17 00:00:00 2001 From: viet-nv Date: Wed, 6 Sep 2023 11:04:12 +0700 Subject: [PATCH] disable swipe gesture by default --- src/components/Modal/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Modal/index.tsx b/src/components/Modal/index.tsx index 1dd7e8e6db..e873648bec 100644 --- a/src/components/Modal/index.tsx +++ b/src/components/Modal/index.tsx @@ -117,7 +117,7 @@ export default function Modal({ transition = true, zindex = 100, borderRadius = '20px', - enableSwipeGesture = true, + enableSwipeGesture = false, bypassScrollLock = false, bypassFocusLock = false, }: ModalProps) {