Fix 2231 Modal overlap on double modal open (#2239)

* add same multiple snapPoints to Confirm modal

* snapToIndex instead of confirm
zio/stable
Ansh 2023-12-19 03:56:43 +05:30 committed by GitHub
parent 7af4825911
commit 1cf5a0b0fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export function ModalsContainer() {
useEffect(() => { useEffect(() => {
if (isModalActive) { if (isModalActive) {
bottomSheetRef.current?.expand() bottomSheetRef.current?.snapToIndex(0)
} else { } else {
bottomSheetRef.current?.close() bottomSheetRef.current?.close()
} }