-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
[HOLD for payment 2024-02-26] [$500] Cursor don't move to next line if return button tapped on keypad after back from referral #35373
Comments
Job added to Upwork: https://www.upwork.com/jobs/~0150278de70234c5a1 |
Triggered auto assignment to @abekkala ( |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @aimane-chnaif ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing shift enter doesn't add a new line. What is the root cause of that problem?From the error, we can see that the We have a App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 273 to 284 in 82ae62f
App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 117 to 123 in 82ae62f
But we also "listen" to a focus state and unsubscribe/subscribe it based on the focus state. App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 125 to 132 in 82ae62f
When we go back from the referral page, the page gains focus and
What changes do you think we should make in order to solve the problem?It would be great if the component is migrated to func component so we can use code example:
|
@bernhardoj's proposal looks good to me. 🎀 👀 🎀 C+ reviewed |
Triggered auto assignment to @bondydaa, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
📣 @aimane-chnaif 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @bernhardoj 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
👍 i don't think we need to wait to refactor to a functional component, fix the lingering event listener (and throw a comment in stating why we are doing it so when we do refactor it we don't re-introduce the bug). |
PR is ready cc: @aimane-chnaif |
Whoohooo... thanks for figuring out the repro steps, 🤞 it's fixed soon. It happened to me again today, I refreshed the page and it starting working again. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.42-5 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue: If no regressions arise, payment will be issued on 2024-02-26. 🎊 For reference, here are some details about the assignees on this issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
PAYMENT SUMMARY FOR FEB. 26
|
No need regression test. QA team has this test case already. |
@bernhardoj and @aimane-chnaif - payment sent and contracts ended, thank you! 🎉 |
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: v1.4.33-3
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:
After back from referral page, cursor in compose box should move to next line on tapping return button on keypad
Actual Result:
Cursor do not move to next line in compose box on tapping return button on keypad after back from referral page
Note: Issue reproducible on web with SHIFT+Enter & console error shows up (Please check web video attachment)
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6360432_1706588215346.WEB-Issuerepro_with_console_error.mp4
Bug6360432_1706588215335.RPReplay_Final1706581653_1_.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: