[PR #5987] Fix InitialFocus not working on some fields #6256

Closed
opened 2026-02-28 21:25:51 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/5987

State: closed
Merged: Yes


Renamed some component's inputRef prop to a standard ref. InitialFocus expects its child component to have a ref prop to work.

How to test:

  1. Open mobile budget page
  2. Do a balance transfer
  • The amount should be focused when the transfer modal is opened
  1. Cover a negative balance
  • The category autocomplete modal should automatically open (removing the need to click on the category button first)
**Original Pull Request:** https://github.com/actualbudget/actual/pull/5987 **State:** closed **Merged:** Yes --- <!-- Thank you for submitting a pull request! Make sure to follow the instructions to write release notes for your PR — it should only take a minute or two: https://github.com/actualbudget/docs#writing-good-release-notes. Try running yarn generate:release-notes *before* pushing your PR for an interactive experience. --> Renamed some component's `inputRef` prop to a standard `ref`. `InitialFocus` expects its child component to have a `ref` prop to work. How to test: 1. Open mobile budget page 2. Do a balance transfer - The amount should be focused when the transfer modal is opened 3. Cover a negative balance - The category autocomplete modal should automatically open (removing the need to click on the category button first)
GiteaMirror added the pull-request label 2026-02-28 21:25:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6256