-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[$500] Thread - The cursor is not focused when opening a previously created thread. #30986
Comments
Job added to Upwork: https://www.upwork.com/jobs/~01f0a8339a7396a1b3 |
Triggered auto assignment to @lschurr ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @allroundexperts ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.The cursor not auto focused when opening previously created thread What is the root cause of that problem?Auto focus is disabled in mobile for non empty chat for the main composer. It is because App/src/pages/home/report/ReportActionCompose/ComposerWithSuggestions/ComposerWithSuggestions.js Line 129 in a1a0f38
What changes do you think we should make in order to solve the problem?We should focus before navigate to child report here App/src/pages/home/report/ReportActionItemThread.js Lines 46 to 48 in a1a0f38
calling ReportActionComposeFocusManager.focus
Then we should update this code App/src/libs/focusComposerWithDelay.ts Lines 9 to 34 in a1a0f38
to
To set the ref to App/src/components/Composer/index.js Lines 473 to 478 in 7b546b0
to
This What alternative solutions did you explore? (Optional) |
This looks like an intentional behavior. We don't auto focus on mobile devices |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?
What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional)
|
@allroundexperts could you review? |
@lschurr I would agree with @s-alves10 here. As far as I remember, we don't autofocus on mobile intentionally. Can you please confirm if this is really a bug? Thanks! |
Let's go ahead and close. Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: v1.3.96-0
Reproducible in staging?: Y
Reproducible in production?: Y
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: Applause-Internal Team
Slack conversation: @
Action Performed:
Expected Result:
Cursor is focused.
Actual Result:
The cursor is not focused when opening a previously created thread.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6267033_1699348180023.Missing_cursor_when_opening_a_previously_created_thread.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: