-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[$125] Wallet - Country search scrolls to incorrect line for some letters #58017
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
Comments
Triggered auto assignment to @mallenexpensify ( |
🚨 Edited by proposal-police: This proposal was edited at 2025-03-07 16:15:55 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.Wallet - Country search scrolls to incorrect line for some letters What is the root cause of that problem?When the search key contains letters from the currently selected item, the selected item will still be in the list but its index might change (because the relative index will change as the number of items above it change) then setFocusedIndex will be called with the current new index of the selected item App/src/components/SelectionList/BaseSelectionList.tsx Lines 363 to 374 in 1247366
What changes do you think we should make in order to solve the problem?This feature is implemented in #54457 but caused this issue. So we should disable it if there is a search string like: App/src/components/SelectionList/BaseSelectionList.tsx Lines 369 to 370 in 1247366
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?The test created for the original pr suffices. What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Wallet - Country search scrolls to incorrect line for some letters What is the root cause of that problem?We update the But, we also update the What changes do you think we should make in order to solve the problem?Return early if the new data of App/src/components/SelectionList/BaseSelectionList.tsx Lines 368 to 374 in 2316207
Additionally we can set focus to the default value if the What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A What alternative solutions did you explore? (Optional)Or we can do like this instead of using existing
|
|
Job added to Upwork: https://www.upwork.com/jobs/~021898763466530762704 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 ( |
Hoping it's a quick fix, if not, we can bump the price up. |
i can grab internal review on this when it's ready! |
Thanks all for the proposals. @FitseTLT your RCA looks correct, but after removing these dependencies the @nyomanjyotisa your RCA missed why some letters works and some not, and with your fix the issue is still reproduced if we search by letters from the selected item, e.g. if you search by letter video20250311003719549.mp4 |
@FitseTLT's proposal by early return if Plus his proposal explanation, 🎀 👀 🎀 C+ reviewed. |
Current assignee @dangrous is eligible for the choreEngineerContributorManagement assigner, not assigning anyone new. |
sounds good! |
📣 @FitseTLT 🎉 An offer has been automatically sent to your Upwork account for the Contributor role 🎉 Thanks for contributing to the Expensify app! Offer link |
Triggered auto assignment to @jliexpensify ( |
@jliexpensify I'm going to be OOO and offline for two weeks so I'm reassigning, will pick back up upon my return, thx |
Payment is due today |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test ProposalTest:
Do we agree 👍 or 👎 |
@jliexpensify It looks the automation was failed here, this issue was due for payment yesterday. |
Payment Summary
|
Paid and job closed. |
$125 approved for @ahmedGaber93 |
Uh oh!
There was an error while loading. Please reload this page.
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.1.10-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Yes, reproducible on both
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5702032
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Device used: MacOS 14.7.4 / Safari, Chrome, Desktop. iPhone 15 Pro / 18.3.1. Google Pixel 5 / Android 14
App Component: User Settings
Action Performed:
Expected Result:
Country search scrolls to the correct country starting with these letters.
Actual Result:
For some first letters the country search scrolls to countries that start with a different letter. Incorrect letters will vary depending on the country already selected by default.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6763951_1741350688270.iOS-Wallet-Search-Incorrect-Scroll.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ahmedGaber93The text was updated successfully, but these errors were encountered: