From 84952388a5132c65775b15118476ccb69cd695c0 Mon Sep 17 00:00:00 2001 From: Dmitry Kuzin Date: Fri, 25 Oct 2024 18:15:28 +0400 Subject: [PATCH] Fix creator functional tests --- packages/survey-react-ui/src/components/popup/popup-modal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/survey-react-ui/src/components/popup/popup-modal.tsx b/packages/survey-react-ui/src/components/popup/popup-modal.tsx index 0b2d09bf9f..b9bdac5b4e 100644 --- a/packages/survey-react-ui/src/components/popup/popup-modal.tsx +++ b/packages/survey-react-ui/src/components/popup/popup-modal.tsx @@ -42,6 +42,7 @@ export class PopupModal extends SurveyElementBase<{}, any> { if(!options.isVisible) { this.model.dispose(); this.model = undefined as any; + this.setState({ changed: this.state.changed + 1 }); } }; this.model.onVisibilityChanged.add(onVisibilityChangedCallback);