From 02989907fe689c82c5b6358dcee981dc8b399850 Mon Sep 17 00:00:00 2001 From: Steven Bal Date: Mon, 27 May 2024 16:17:13 +0200 Subject: [PATCH] :bug: [#4012] Fix content component link popup in form builder because the WebformBuilder root was not unmounted after closing the modal, this did not work previously --- src/openforms/js/components/formio_builder/WebformBuilder.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/openforms/js/components/formio_builder/WebformBuilder.js b/src/openforms/js/components/formio_builder/WebformBuilder.js index a8c18f8b29..b3195489cf 100644 --- a/src/openforms/js/components/formio_builder/WebformBuilder.js +++ b/src/openforms/js/components/formio_builder/WebformBuilder.js @@ -184,6 +184,7 @@ class WebformBuilder extends WebformBuilderFormio { // Clean up. this.removeEventListener(this.dialog, 'close', dialogClose); this.dialog = null; + root.unmount(); }; this.addEventListener(this.dialog, 'close', dialogClose);