Skip to content

First character of search input often missing when typing quickly after Cmd+K #69034

Closed

Description

@m-natarajan

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:
Reproducible in staging?: Needs Reproduction
Reproducible in production?: Needs Reproduction
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @tgolen
Slack conversation (hyperlinked to channel name): #Quality

Action Performed:

  1. Navigate to inbox
  2. Press Cmd+K to open the chat search modal
  3. Immediately start typing a search term
  4. Observe that the first character is often missing from the input field

Expected Result:

The search input should be ready to capture keystrokes as soon as the modal appears, even if the user types quickly.

Actual Result:

The first keystroke is sometimes ignored if typing begins immediately after opening the modal.

Workaround:

Unknown

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @Krishna2323

Activity

  1. added
    Daily
    Bug
    on Aug 22, 2025
  2. melvin-bot commented on Aug 22, 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. changed the title [-]First character of search input often missing when typing quickly after Cmd+K[/-] [+][Hold] First character of search input often missing when typing quickly after Cmd+K[/+] on Aug 22, 2025
  4. mountiny commented on Aug 22, 2025

    @mountiny
    Contributor

    Putting this on hold. It seems like a direct consequece of this change #65855 @allgandalf @Krishna2323 @amyevans

    I dont think we can add a timemout there, the original bug was probably less bad than this

  5. amyevans commented on Aug 22, 2025

    @amyevans
    Contributor

    Hmm yeah, #65855 morphed from its initial fix that only applied to native apps (where I think users aren't going to be able to start typing quickly in the same way as you can with a hardware keyboard), to applying on all platforms with a CP'ed PR: #68198.

    the original bug was probably less bad than this

    Agreed

  6. mountiny commented on Aug 22, 2025

    @mountiny
    Contributor

    @Krishna2323 @allgandalf can you please look into fixing this, I agree that this does not make much sense on web

  7. Krishna2323 commented on Aug 25, 2025

    @Krishna2323
    Contributor

    @mountiny, the PR only added a delay on native platforms. I don't think this is related to #65855. Please correct me if I misunderstood something.

  8. mountiny commented on Aug 25, 2025

    @mountiny
    Contributor

    @Krishna2323 this PR adds the delay to web too #68198 doesn't it?

  9. melvin-bot commented on Aug 25, 2025

    @melvin-bot

    @lschurr Whoops! This issue is 2 days overdue. Let's get this updated quick!

  10. Krishna2323 commented on Aug 26, 2025

    @Krishna2323
    Contributor

    Thanks for explaining! I was looking at the original PR. I will raise the follow-up by EOD tomorrow.

  11. Krishna2323 commented on Aug 26, 2025

    @Krishna2323
    Contributor

    @mountiny Could you please assign this to me so I don’t forget to raise the PR?

  12. 27 remaining items

  13. melvin-bot commented on Oct 20, 2025

    @melvin-bot

    @Krishna2323 @lschurr The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  14. amyevans commented on Oct 20, 2025

    @amyevans
    Contributor

    That PR is on prod now but per @Krishna2323 in this thread:

    The implementation for the input component has changed. It now shows a loading state while reports are fetching, which is causing our PR tests to fail. The functionality works correctly in all other cases. I will submit a follow-up PR to address this within the next two days.

    So our next step is a follow up PR 🙏

  15. removed
    Awaiting Payment
    on Oct 20, 2025
  16. changed the title [-][Due for payment 2025-10-27] First character of search input often missing when typing quickly after Cmd+K[/-] [+]First character of search input often missing when typing quickly after Cmd+K[/+] on Oct 20, 2025
  17. added
    Reviewing
    Weekly
    and removed
    Weekly
    on Oct 28, 2025
  18. allgandalf commented on Nov 3, 2025

    @allgandalf
    Contributor

    Reviewing this week

  19. allgandalf commented on Nov 7, 2025

    @allgandalf
    Contributor

    Reviewing the PR over the weekend, need to make sure we aren't causing any regressions

  20. allgandalf commented on Nov 13, 2025

    @allgandalf
    Contributor

    Approved the PR

  21. amyevans commented on Nov 13, 2025

    @amyevans
    Contributor

    PR is merged

  22. allgandalf commented on Nov 17, 2025

    @allgandalf
    Contributor

    PR in prod, good to close

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

Metadata

Metadata

Labels

BugReviewingWeekly

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions