-
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-10-29] [HOLD for payment 2024-10-25] [$250] Android - Search - Keyboard does not auto open in Search modal #51010
Comments
Triggered auto assignment to @srikarparsi ( |
Triggered auto assignment to @sakluger ( |
💬 A slack conversation has been started in #expensify-open-source |
👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:
|
Edited by proposal-police: This proposal was edited at 2024-10-17 18:17:16 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Search - Keyboard does not auto open in Search modal What is the root cause of that problem?keyboard doesnt open up because we dont use the What changes do you think we should make in order to solve the problem?we should assign the ref to the const {inputCallbackRef } = useAutoFocusInput(); then use it in the ref={inputCallbackRef} then we could remove the autoFocus as its now handled by the What alternative solutions did you explore? (Optional)optionally we can delay the focus so that the input field focuses correctly by adding |
Was this tested on a physical phone? Cos I'm testing this on android emulator right now (Pixel) and the keyboard does open: rec-search-keyboard-andr.mp4rec-search-keyboard-andr2.mp4I did however noticed exactly one case where it didn't open, but I cannot reproduce it consistently. All the other cases it did open. |
I can reliably reproduce this on a Pixel 6 physical device |
I'm also able to pretty reliably reproduce this on an emulator (I'm using Pixel 7 Pro API 33): Screen.Recording.2024-10-17.at.12.50.48.PM.mov |
@Kicu I'm able to reproduce on android emulator Screen.Recording.2024-10-17.at.5.58.08.PM.mov |
Going to make this external |
Job added to Upwork: https://www.upwork.com/jobs/~021846960678624915682 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @jayeshmangwani ( |
@rayane-djouah i am still not able to reproduce... is there a specific step that i am missing? |
📣 @hayes102! 📣
|
ProposalPlease re-state the problem that we are trying to solve in this issue.Keyboard does not auto open in Search modal What is the root cause of that problem?This issue of react-native-modal What changes do you think we should make in order to solve the problem?We should update follow this comment //.src/components/Search/SearchRouter/SearchRouterInput.tsx#L87
+ useEffect(() => {
+ InteractionManager.runAfterInteractions(() => {
+ inputRef.current?.blur();
+ inputRef.current?.focus();
+ });
+ }, []);
Screen.Recording.2024-10-18.at.00.59.25.mov |
Edited by proposal-police: This proposal was edited at 2024-10-17 18:18:14 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Android - Search - Keyboard does not auto open in Search modal What is the root cause of that problem?If the What changes do you think we should make in order to solve the problem?
What alternative solutions did you explore? (Optional) |
Thanks, I am starting testing |
@luacmartins @srikarparsi please remove the deploy blocker label and check this off whenever we confirm the fix worked. |
Fix worked Screen.Recording.2024-10-18.at.2.00.50.PM.mov |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.50-8 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-10-25. 🎊 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:
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.51-4 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-10-29. 🎊 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:
|
Weird - I'm not sure why the second payment hold was added, this was deployed to prod 7 days ago. I'll prep the payment summary. Summarizing payment on this issue: Contributor: @abzokhattab $250, paid via Upwork |
|
@sakluger I’ve checked the first two items on the checklist. For the third, I’m not sure if discussion is necessary here, as it could have been addressed in the PR review. As for items 4 and 5, I don’t think dedicated regression tests are needed. |
Thanks @jayeshmangwani! |
@sakluger @luacmartins @srikarparsi Be sure to fill out the Contact List! |
$250 approved for @jayeshmangwani |
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: 9.0.50-0
Reproducible in staging?: Y
Reproducible in production?: N/A - new feature, doesn't exist in prod
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Expected Result:
Keyboard will auto open.
Actual Result:
Keyboard does not auto open.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6637494_1729158638593.1729158562598_Screen_Recording_20241017_174902_New_Expensify.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jayeshmangwaniThe text was updated successfully, but these errors were encountered: