fix: remove stack when close sheet

close #1910
This commit is contained in:
Stephen Zhou
2024-11-28 21:31:37 +08:00
parent 3499535b40
commit eeb785de3f
@@ -60,6 +60,7 @@ const ModalToSheet = (props: ModalProps & { index: number; id: string }) => {
() => ({
dismiss: () => {
sheetRef.current?.dismiss()
close()
},
getIndex: () => props.index,
setClickOutSideToDismiss: (v) => {