Skip to content

Workspace - Input field does not auto focus in Distance rates > Add rate page #69242

Closed

Description

@mitarachim

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.99-0
Reproducible in staging?: Yes
Reproducible in production?: No
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp #68980
Email or phone of affected tester (no customers): sdhshssdjiosdndjs@gmail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.5 / Chrome
App Component: Workspace Settings

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > More features.
  3. Enable Distance rates.
  4. Go to DIstance rates.
  5. Click Add rate.

Expected Result:

Input field will auto focus.

Actual Result:

Input field does not auto focus in Distance rates > Add rate page.

Workaround:

Unknown

Platforms:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6927165_1756208936671.Screen_Recording_2025-08-26_at_19.47.14.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @jakubkalinski0

Activity

  1. added
    DeployBlockerCash
    Daily
    Bug
    DeployBlocker
    on Aug 26, 2025
  2. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    Triggered auto assignment to @lschurr (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. github-actions commented on Aug 26, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  4. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    Triggered auto assignment to @techievivek (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  5. added
    Daily
    and removed
    Hourly
    on Aug 26, 2025
  6. melvin-bot commented on Aug 26, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  7. 10 remaining items

  8. jakubkalinski0 commented on Aug 27, 2025

    @jakubkalinski0
    Member

    Yeah, this one isn't caused by my changes but the fix is simple so PR will be up as soon as ios builds for me so I can test it everywhere 😅

  9. added
    Reviewing
    Weekly
    and removed
    Daily
    on Aug 27, 2025
  10. jakubkalinski0 commented on Aug 28, 2025

    @jakubkalinski0
    Member

    There might be something more to it than only the prop missing - #69340 (comment)

  11. samranahm commented on Aug 28, 2025

    @samranahm
    Contributor

    @jakubkalinski0 I'm encountering this issue with other pages as well, let's also fix that 💯

    Screen.Recording.2025-08-28.at.4.02.05.PM.mov
  12. jakubkalinski0 commented on Aug 28, 2025

    @jakubkalinski0
    Member

    Yup, I think I found out why it's happening and I am working on the fix now. FYI it looks like the autoFocus prop isn't the way to go, but the useAutoFocusInput also isn't broken. We should be able to keep the hook unchanged and functioning if my current guess is correct.

  13. added
    Weekly
    and removed
    Weekly
    on Aug 28, 2025
  14. added and removed
    Weekly
    on Sep 22, 2025
  15. melvin-bot commented on Sep 22, 2025

    @melvin-bot

    This issue has not been updated in over 15 days. @allroundexperts, @lschurr, @mountiny, @jakubkalinski0 eroding to Monthly issue.

    P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

  16. melvin-bot commented on Nov 28, 2025

    @melvin-bot

    @allroundexperts, @lschurr, @mountiny, @jakubkalinski0, this Monthly task hasn't been acted upon in 6 weeks; closing.

    If you disagree, feel encouraged to reopen it -- but pick your least important issue to close instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugEngineeringMonthlyNot a priorityReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions