[GH-ISSUE #606] Improve undo/redo keyboard shortcut handling #7190

Closed
opened 2026-04-10 16:53:44 -05:00 by GiteaMirror · 0 comments
Owner

Originally created by @j-f1 on GitHub (Feb 1, 2023).
Original GitHub issue: https://github.com/actualbudget/actual/issues/606

When hitting CMD+Z to undo, sometimes I find Safari reopening my last closed tab. When I re-close that tab, I come back to find the undo has been successfully completed. Similarly, in Discord, @‌Rohan said:

Many times, I expect the textfield to get reset when using CMD+Z but it ends up deleting my recently added transaction.

I think there should be 2 changes here to improve the UX:

  • call preventDefault if we can handle the undo ourselves to avoid the browser doing something weird
  • disable the undo/redo shortcuts if the user is focused on a text input
Originally created by @j-f1 on GitHub (Feb 1, 2023). Original GitHub issue: https://github.com/actualbudget/actual/issues/606 When hitting CMD+Z to undo, sometimes I find Safari reopening my last closed tab. When I re-close that tab, I come back to find the undo has been successfully completed. Similarly, in Discord, @‌Rohan said: > Many times, I expect the textfield to get reset when using CMD+Z but it ends up deleting my recently added transaction. I think there should be 2 changes here to improve the UX: - call `preventDefault` if we can handle the undo ourselves to avoid the browser doing something weird - disable the undo/redo shortcuts if the user is focused on a text input
GiteaMirror added the bug label 2026-04-10 16:53:44 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#7190