Skip to content

A local-first personal finance app

Add fix for unfocusing the date disabling all other buttons (#5519)

ShayanAraghi2abc144b032f
diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx
index 5f53b79237..61f7ca7da0 100644
--- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx
+++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx
@@ -1002,6 +1002,7 @@ const TransactionEditInner = memo(function TransactionEditInner({
required
style={{ color: theme.tableText, minWidth: '150px' }}
defaultValue={dateDefaultValue}
+ onBlur={onClearActiveEdit}
onFocus={() =>
onRequestActiveEdit(getFieldName(transaction.id, 'date'))
}
diff --git a/upcoming-release-notes/5519.md b/upcoming-release-notes/5519.md
new file mode 100644
index 0000000000..e4b2c6ed42
--- /dev/null
+++ b/upcoming-release-notes/5519.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [ShayanAraghi]
+---
+
+Add fix for unfocusing the date disabling all other buttons