From e84f998622fd573559e2189ba2014847551b6b0b Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Sun, 13 Feb 2022 15:18:54 +0000 Subject: [PATCH] Remount button action components fully when changing action to prevent stale UI --- .../ButtonActionEditor/ButtonActionDrawer.svelte | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/ButtonActionDrawer.svelte b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/ButtonActionDrawer.svelte index 1f729af0c9..8cf0f37f70 100644 --- a/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/ButtonActionDrawer.svelte +++ b/packages/builder/src/components/design/PropertiesPanel/PropertyControls/ButtonActionEditor/ButtonActionDrawer.svelte @@ -126,13 +126,15 @@ {#if selectedActionComponent} -
- -
+ {#key selectedAction.id} +
+ +
+ {/key} {/if}