Expensify / App

Welcome to New Expensify: a complete re-imagination of financial collaboration, centered around chat. Help us build the next generation of Expensify by sharing feedback and contributing to the code.
https://new.expensify.com
MIT License
3.57k stars 2.91k forks source link

The Composer isn't getting focus again after the attachment modal is dismissed #52898

Open m-natarajan opened 16 hours ago

m-natarajan commented 16 hours ago

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.0.65-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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: @DylanDylann Slack conversation (hyperlinked to channel name): ts_external_expensify_bugs

Action Performed:

  1. Go to any chat
  2. Click on Emoji button on composer
  3. Click outside to turn off emoji modal
  4. The main composer is focused again
  5. Click on Search button
  6. Click outside to turn off search modal
  7. The main composer is focused again
  8. Click on + Button > Add attachment
  9. Close the attachment modal

Expected Result:

The Composer should be focused again

Actual Result:

The Composer isn't getting focus again The same issue also happens when turning off task creation RHP

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/aca55734-0f61-4127-b0be-ba4d7d56d8e9

https://github.com/user-attachments/assets/b7547442-247f-4035-a8c9-3146d18c1a84

https://github.com/user-attachments/assets/e9a46911-ecb7-4d3b-a2c9-2dbe9da8eb89

View all open jobs on GitHub

melvin-bot[bot] commented 16 hours ago

Triggered auto assignment to @VictoriaExpensify (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.

m-natarajan commented 16 hours ago

Discovered this bug while reviewing this PR by @DylanDylann

DylanDylann commented 16 hours ago

@VictoriaExpensify Could I take over this issue if this is external? because of more context here