-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Awaiting Test from Applause] [$500] Android - Compose-In edit comment mode, compose box is shown after tapping header and returning back. #33466
Comments
Job added to Upwork: https://www.upwork.com/jobs/~019035bbdbdc062b24 |
Triggered auto assignment to @garrettmknight ( |
Bug0 Triage Checklist (Main S/O)
|
Triggered auto assignment to Contributor-plus team member for initial proposal review - @narefyev91 ( |
ProposalPlease re-state the problem that we are trying to solve in this issueWhen user is in edit comment mode, the main composer is shown after tapping header and returning back. What is the root cause of that problem?
When we go to a different screen while the edit composer is focused, the composer loses focus which causes the main composer to be shown. If we manually re-focus the edit composer, the main composer will be hidden. This issue happens because within What changes do you think we should make in order to solve the problem?Similar to the Code changes /**
* Focus the composer text input
*/
const focus = focusComposerWithDelay(textInputRef.current);
// ^ - existing code
// new code:
useEffect(() => {
const unsubscribeFocus = navigation.addListener('focus', () => focus());
return () => unsubscribeFocus();
}, [navigation, focus]); VideosiOS: NativeScreen.Recording.2023-12-22.at.01.16.36.movAndroid: NativeScreen.Recording.2023-12-22.at.01.11.30.mov |
ProposalPlease re-state the problem that we are trying to solve in this issueCompose-In edit comment mode, compose box is shown after tapping header and returning back What is the root cause of that problem?When users focus on the edit composer, the main composer will be hidden. If they blur the edit composer, both composer will be shown. And we don't have the logic to refocus on the input if users open other page and come back -> That why we can see 2 composers What changes do you think we should make in order to solve the problem?Focusing on the edit composer whenever users back to report screen doesn't make sense if this composer is not focused before We should detect if the composer is blurred when the page is not focus, so when users back to this page, we can automatically focus again In
Apply the same logic in What alternative solutions did you explore? (Optional)We can apply the above logic in ResultScreen.Recording.2023-12-22.at.11.23.08.mov |
Taking over! |
Hi @tienifr!
Can you show me a video of this happening? |
@allroundexperts here you are Screen.Recording.2023-12-25.at.10.46.51.mov |
@garrettmknight, @narefyev91 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@allroundexperts what do you think ^? |
@garrettmknight, @narefyev91 Eep! 4 days overdue now. Issues have feelings too... |
Updating C+ |
@allroundexperts thoughts on video? |
@garrettmknight, @allroundexperts Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
@allroundexperts can you give this one an update when you get a chance? |
Dropping to weekly while we figure it out and @allroundexperts submits for payment |
@garrettmknight Unfortunately, I don't have the steps handy but QA team could help us get those quickly. |
Looks like we're still waiting on QA steps here @parasharrajat ? |
@MonilBhavsar as I said earlier, it would be great if someone familiar like QA team could get the related regression steps. I don't know how to get the exact ones. |
I checked Testrail but couldn't find exact steps for related |
$500 approved for @allroundexperts based on this summary. |
@lanitochka17 I know it's been a while since we opened this one up, but could you point us to the test that triggered this one if you can find it? Thanks! |
The issue was found while checking this test case https://expensify.testrail.io/index.php?/tests/view/4074970 |
Cool, I think this once is covered in the existing test case. |
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: 1.4.15-5
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:
When user in edit comment mode, compose box should not be shown after tapping header and returning back
Actual Result:
When user in edit comment mode, compose box shown after tapping header and returning back
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6323208_1703193415742.pppp.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @garrettmknightThe text was updated successfully, but these errors were encountered: