From 26f0bd27dfa48cd79aa32dc7fa80e7463d8854ab Mon Sep 17 00:00:00 2001 From: Vasily Strelyaev Date: Wed, 22 Jan 2025 14:06:52 +0200 Subject: [PATCH] fix the bug where forms are not closed by cross in React (#381) --- packages/react/src/components/utils/form-popup/FormPopup.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react/src/components/utils/form-popup/FormPopup.tsx b/packages/react/src/components/utils/form-popup/FormPopup.tsx index da982d809..811ec80ef 100644 --- a/packages/react/src/components/utils/form-popup/FormPopup.tsx +++ b/packages/react/src/components/utils/form-popup/FormPopup.tsx @@ -55,6 +55,7 @@ export const FormPopup = ({ width={width} wrapperAttr={{ ...wrapperAttr, class: `${wrapperAttr?.class} form-popup` }} height={height} + onVisibleChange={setVisible} >