diff --git a/packages/frontend-core/src/components/sheet/AddRowButton.svelte b/packages/frontend-core/src/components/sheet/AddRowButton.svelte index 25a721e8f1..aa3dd407b1 100644 --- a/packages/frontend-core/src/components/sheet/AddRowButton.svelte +++ b/packages/frontend-core/src/components/sheet/AddRowButton.svelte @@ -2,11 +2,16 @@ import { Icon } from "@budibase/bbui" import { getContext } from "svelte" - const { dispatch, columns } = getContext("sheet") + const { dispatch, columns, ui } = getContext("sheet") + + const addRow = () => { + ui.actions.blur() + dispatch("add-row") + } {#if $columns.length} -