Skip to content

A local-first personal finance app

[WIP] Fix <input type="date"> on iOS 26 Safari (#6145)

Martin Chendc7f80024fb6
diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx
index b8e80f0672..fe16647c45 100644
--- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx
+++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.tsx
@@ -1180,7 +1180,11 @@ const TransactionEditInner = memo<TransactionEditInnerProps>(
editingField !== getFieldName(transaction.id, 'date')
}
required
- style={{ color: theme.tableText, minWidth: '150px' }}
+ style={{
+ color: theme.tableText,
+ minWidth: '150px',
+ appearance: 'none',
+ }}
defaultValue={dateDefaultValue}
onBlur={() => onClearActiveEdit()}
onFocus={() =>
diff --git a/upcoming-release-notes/6145.md b/upcoming-release-notes/6145.md
new file mode 100644
index 0000000000..b043a7e13f
--- /dev/null
+++ b/upcoming-release-notes/6145.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [pyfisssh]
+---
+
+On iOS 26 Safari, <input type="date"> could render taller than expected. This has been fixed by disabling native appearance to enforce consistent box-sizing.