Fix 2231 Modal overlap on double modal open (#2239)
* add same multiple snapPoints to Confirm modal * snapToIndex instead of confirmzio/stable
parent
7af4825911
commit
1cf5a0b0fc
|
@ -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()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue