diff --git a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte
index 4178932866..b54ab540da 100644
--- a/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte
+++ b/packages/builder/src/pages/builder/app/[application]/design/[screenId]/_components/AppPreview.svelte
@@ -174,6 +174,8 @@
if (!$isActive("./navigation")) {
$goto("./navigation")
}
+ } else if (type === "request-add-component") {
+ $goto("./components/new")
} else {
console.warn(`Client sent unknown event type: ${type}`)
}
diff --git a/packages/client/src/components/Component.svelte b/packages/client/src/components/Component.svelte
index e8fcc80db4..a54c5198cd 100644
--- a/packages/client/src/components/Component.svelte
+++ b/packages/client/src/components/Component.svelte
@@ -22,6 +22,7 @@
import { Helpers } from "@budibase/bbui"
import { getActiveConditions, reduceConditionActions } from "utils/conditions"
import Placeholder from "components/app/Placeholder.svelte"
+ import ScreenPlaceholder from "components/app/ScreenPlaceholder.svelte"
export let instance = {}
export let isLayout = false
@@ -428,7 +429,11 @@