From 0b7bc70a7dafa8858342c398d82cf6d6455deaa4 Mon Sep 17 00:00:00 2001 From: Philipinho <16838612+Philipinho@users.noreply.github.com> Date: Wed, 17 Jun 2026 14:37:41 +0100 Subject: [PATCH] fix(base): prevent popover inputs from losing focus on mobile in row detail modal --- apps/client/src/ee/base/components/cells/cell-file.tsx | 1 + apps/client/src/ee/base/components/cells/cell-page.tsx | 1 + apps/client/src/ee/base/components/cells/cell-person.tsx | 1 + .../src/ee/base/components/property/create-property-popover.tsx | 1 + .../ee/base/components/row-detail-modal/fields/field-choice.tsx | 1 + .../ee/base/components/row-detail-modal/fields/field-date.tsx | 1 + .../src/ee/base/components/row-detail-modal/property-row.tsx | 1 + 7 files changed, 7 insertions(+) diff --git a/apps/client/src/ee/base/components/cells/cell-file.tsx b/apps/client/src/ee/base/components/cells/cell-file.tsx index 6b6af00a6..3d3bcd247 100644 --- a/apps/client/src/ee/base/components/cells/cell-file.tsx +++ b/apps/client/src/ee/base/components/cells/cell-file.tsx @@ -125,6 +125,7 @@ export function CellFile({ trapFocus closeOnClickOutside closeOnEscape + hideDetached={false} >
diff --git a/apps/client/src/ee/base/components/cells/cell-page.tsx b/apps/client/src/ee/base/components/cells/cell-page.tsx index a19109e03..9940ab492 100644 --- a/apps/client/src/ee/base/components/cells/cell-page.tsx +++ b/apps/client/src/ee/base/components/cells/cell-page.tsx @@ -237,6 +237,7 @@ function PagePicker({ trapFocus closeOnClickOutside closeOnEscape + hideDetached={false} >
diff --git a/apps/client/src/ee/base/components/cells/cell-person.tsx b/apps/client/src/ee/base/components/cells/cell-person.tsx index 83b86f936..0e8929bb9 100644 --- a/apps/client/src/ee/base/components/cells/cell-person.tsx +++ b/apps/client/src/ee/base/components/cells/cell-person.tsx @@ -142,6 +142,7 @@ export function CellPerson({ trapFocus closeOnClickOutside closeOnEscape + hideDetached={false} >
diff --git a/apps/client/src/ee/base/components/property/create-property-popover.tsx b/apps/client/src/ee/base/components/property/create-property-popover.tsx index bed66f533..e5c11d04b 100644 --- a/apps/client/src/ee/base/components/property/create-property-popover.tsx +++ b/apps/client/src/ee/base/components/property/create-property-popover.tsx @@ -235,6 +235,7 @@ export function CreatePropertyPopover({ pageId, properties, onPropertyCreated, r closeOnClickOutside closeOnEscape={false} withinPortal + hideDetached={false} middlewares={{ flip: false, shift: true, diff --git a/apps/client/src/ee/base/components/row-detail-modal/fields/field-choice.tsx b/apps/client/src/ee/base/components/row-detail-modal/fields/field-choice.tsx index d82112b27..d5b442b96 100644 --- a/apps/client/src/ee/base/components/row-detail-modal/fields/field-choice.tsx +++ b/apps/client/src/ee/base/components/row-detail-modal/fields/field-choice.tsx @@ -66,6 +66,7 @@ export function FieldChoice({ property, value, readOnly, onChange }: FieldProps) trapFocus closeOnClickOutside closeOnEscape={false} + hideDetached={false} >