-
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
[HOLD for payment 2024-01-18] [$500] Group - Closed keyboard opens again after adding a user to a group #29003
Comments
Triggered auto assignment to @alexpensify ( |
Bug0 Triage Checklist (Main S/O)
|
I'm OOO today but will test soon |
Still on my testing list, other GHs have taken priority. |
I've run out of time and will have to test over the weekend. |
ProposalPlease re-state the problem that we are trying to solve in this issue.On mobile devices native app, whenever user click on "Add to group" button in Send Message page, the search input is refocused, and opens up the keyboard. That causes unpleasant UX for user who would like to add several people to a group, but the recipient list is partially blocked by the keyboard. This issue does not happen in mobile browsers. What is the root cause of that problem?Currently in
App/src/components/OptionsSelector/BaseOptionsSelector.js Lines 357 to 358 in fe282b4
In Line 214 in fe282b4
This works well to prevent input refocusing on mobile device browser, but not native platforms i.e IOS / Android, because Browser.isMobile() would returns false for native platform, applying ! on it means we have What changes do you think we should make in order to solve the problem?We need to change Line 214 in fe282b4
From That will allow search input refocusing for Desktop/Web, but disable it for Mobile Web / IOS / Android. Identifical changes should be applied to other pages which is currently using What alternative solutions did you explore? (Optional)I have considered using other option like |
Closing - I tested this experience on my Android device and was unable to replicate it. |
@alexpensify I am still able to reproduce the issue on latest main using Android and IOS. Screen.Recording.2023-10-16.at.5.21.37.PM.movFor ease of comparison, here is how it is for mobile Chrome which is not affected by the reported bug. Screen.Recording.2023-10-16.at.5.32.46.PM.mov |
@alexpensify just wondering if you manage to have a look at my comment above? Issue can still be still replicated. |
@honnamkuan - thanks for the bump, sorry I missed this one. I'll test again soon. |
I haven't had time to test but will review when I'm back from OOO. |
Issue is reproducible on latest build - 1.4.1-4 RPReplay_Final1700545435.mp4 |
Job added to Upwork: https://www.upwork.com/jobs/~01efe6ff17fc35d91a |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @eVoloshchak ( |
@alexpensify, @eVoloshchak Huh... This is 4 days overdue. Who can take care of this? |
@eVoloshchak - will the past proposals work to fix this issue? Thanks for reviewing. |
Heads up, I will be offline from Friday, December 22, to Thursday, January 4, 2024. I will not be actively watching over this GitHub during that period. If anything urgent is needed here, please ask for help in the #expensify-open-source Slack Room-- thanks! |
I'm back online again and it looks like this PR is moving along. |
Just waiting for this PR to go into production now. |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.24-3 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-01-18. 🎊 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:
|
To prepare for the payment date, @situchan - can you please update the checklist: Thanks! |
This was inconsistency between platforms rather than bug and implemented the way it is from the beginning. |
Here is the payment summary:
Upwork Job: https://www.upwork.com/jobs/~01efe6ff17fc35d91a |
Alright, everyone has been paid in Upwork. Closing! |
Issue is still reproducible keyboard.issue.mp4 |
@honnamkuan or @situchan can you look into @kavimuru's update? Was this update reverted or are these issues not related? Thank you! |
Waiting for feedback here |
@honnamkuan, @madmax330, @alexpensify, @situchan Eep! 4 days overdue now. Issues have feelings too... |
It was caused by #54994 where we always focus on the text input after selecting a user. Lines 217 to 218 in 48520ec
We need to conditionally focus it with the same condition of Line 362 in 48520ec
should I create a proposal? |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Action Performed:
Expected Result:
Keyboard is NOT opened again
Actual Result:
Keyboard opens again
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.3.79-3
Reproducible in staging?: Yes
Reproducible in production?: Yes
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
Notes/Photos/Videos: Any additional supporting documentation
Bug6227636_1696603414371.iOS-closed-keyboard-open-after-add-user.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @honnamkuanThe text was updated successfully, but these errors were encountered: