-
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-11-18] [$250] [Search v2.2] - Chats - Selected chat is hidden when navigating via keyboard #48902
Comments
Triggered auto assignment to @marcochavezf ( |
Triggered auto assignment to @isabelastisser ( |
👋 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:
|
Job added to Upwork: https://www.upwork.com/jobs/~021833559992291211111 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-djouah ( |
@marcochavezf I am unable to reproduce this issue on latest main Screen.Recording.2024-09-10.at.10.59.35.PM.mov |
Edited by proposal-police: This proposal was edited at 2024-09-10 21:07:46 UTC. ProposalPlease re-state the problem that we are trying to solve in this issue.The element selected using the keyboard is outside the visible area. What is the root cause of that problem?In App/src/components/SelectionList/BaseSelectionList.tsx Lines 273 to 282 in 41e6968
scrollToLocation isn't functioning correctly due to variations in element sizes, caused by the offset in App/src/components/Search/index.tsx Lines 149 to 151 in a8b5914
to be the same as for Transactions. What changes do you think we should make in order to solve the problem?First, I would remove scrollToIndex from onFocusedIndexChange since I don’t see the point in keeping it (see optional). We can set a fixed height for all elements proof of concept: 2024-09-11.18-55-07.mp4What alternative solutions did you explore? (Optional)I propose removing code after: const [focusedIndex, setFocusedIndex] = useArrowKeyFocusManager({
initialFocusedIndex: flattenedSections.allOptions.findIndex((option) => option.keyForList === initiallyFocusedOptionKey),
maxIndex: Math.min(flattenedSections.allOptions.length - 1, CONST.MAX_SELECTION_LIST_PAGE_LENGTH * currentPage - 1),
disabledIndexes: disabledArrowKeyIndexes,
isActive: isFocused,
onFocusedIndexChange: () => {},
isFocused,
}); proof of concept: 2024-09-10.22-55-20.mp4 |
@rayane-djouah, are you still able to reproduce this? Thanks! |
I'm able to reproduce Screen.Recording.2024-09-11.at.11.48.46.PM.mov |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Reviewing now 👀 |
📣 @rayane-djouah 🎉 An offer has been automatically sent to your Upwork account for the Reviewer role 🎉 Thanks for contributing to the Expensify app! |
📣 @tushar-a-b You have been assigned to this job! |
@rayane-djouah, |
@tushar-a-b I prefer the alternative solution because it seems to be the safest option |
@rayane-djouah, PR is ready for a review 👍. |
@rayane-djouah any updates? Thanks! |
PR looks good to me |
Merged |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.59-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-11-18. 🎊 For reference, here are some details about the assignees on this issue:
|
@rayane-djouah @isabelastisser The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button] |
BugZero Checklist:
Regression Test Proposal
Do we agree 👍 or 👎 |
Payment summary: @tushar-a-b requires payment - Offer sent in Upwork - $250 |
All set! |
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.31-14
Reproducible in staging?: Y
Reproducible in production?: N/A
Email or phone of affected tester (no customers): [email protected]
Issue reported by: Applause Internal Team
Action Performed:
Precondition:
Expected Result:
The selected chat will be not hidden when navigating via keyboard.
Actual Result:
The selected chat is hidden when navigating via keyboard.
This issue happens with the chat at the bottom of the list.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6598844_1725981162147.20240910_230910.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @isabelastisserThe text was updated successfully, but these errors were encountered: