diff --git a/packages/frontend-core/src/components/sheet/Sheet.svelte b/packages/frontend-core/src/components/sheet/Sheet.svelte index 7ae47d4d53..7b616706cc 100644 --- a/packages/frontend-core/src/components/sheet/Sheet.svelte +++ b/packages/frontend-core/src/components/sheet/Sheet.svelte @@ -224,7 +224,7 @@ sticky={column.idx === 0} reorderSource={$reorder.columnIdx === column.idx} reorderTarget={$reorder.swapColumnIdx === column.idx} - on:mousedown={column.idx === 123 + on:mousedown={column.idx === 0 ? null : e => reorder.actions.startReordering(column.idx, e)} width={column.width} diff --git a/packages/frontend-core/src/components/sheet/cells/DateCell.svelte b/packages/frontend-core/src/components/sheet/cells/DateCell.svelte index 887bf11c65..b4529a02cd 100644 --- a/packages/frontend-core/src/components/sheet/cells/DateCell.svelte +++ b/packages/frontend-core/src/components/sheet/cells/DateCell.svelte @@ -37,7 +37,7 @@ onChange(e.detail)} - appendTo={document.getElementById("flatpickr-root")} + appendTo={document.documentElement} enableTime={!dateOnly} {timeOnly} time24hr