Fix 2231 Modal overlap on double modal open (#2239)
* add same multiple snapPoints to Confirm modal * snapToIndex instead of confirm
This commit is contained in:
@@ -82,7 +82,7 @@ export function ModalsContainer() {
|
||||
|
||||
useEffect(() => {
|
||||
if (isModalActive) {
|
||||
bottomSheetRef.current?.expand()
|
||||
bottomSheetRef.current?.snapToIndex(0)
|
||||
} else {
|
||||
bottomSheetRef.current?.close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user