You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[C+ Checklist Needs Completion] [$1000] Keyboard navigation and selection is inconsistent in Split Bill UI #21392
Use the keyboard navigation (up/down arrows + enter) to select/deselect different members
Expected Result:
User can successfully select/deselect members for split bill using keyboard navigation
Actual Result:
Keyboard navigation starts working incorrectly while selecting/deselecting members if user clicked on one of the members before. When user press "enter" for any member - select checkmark immediately returns to previous state. Sometimes 2 members are selected / deselected instantly instead of 1
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android / native
Android / Chrome
iOS / native
iOS / Safari
MacOS / Chrome / Safari
MacOS / Desktop
Version Number: 1.3.31.2
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Looks like something related to react-navigation may have been mentioned in this issue discussion.
As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our DeprecatedCustomActions.js files should not be accepted.
changed the title [-]Split bill - Keyboard works incorrectly selecting members if click on them before[/-][+][$1000] Split bill - Keyboard works incorrectly selecting members if click on them before[/+]on Jun 23, 2023
changed the title [-][$1000] Split bill - Keyboard works incorrectly selecting members if click on them before[/-][+][$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/+]on Jun 23, 2023
Okay - can you confirm for me ASAP @mollfpr? I'm going to hold off on the payment for now until I know what the payment amount should be taking regressions into account
changed the title [-][HOLD for payment 2024-01-24] [$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/-][+][C+ Checklist Needs Completion] [$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/+]on Jan 25, 2024
[@mollfpr] The PR that introduced the bug has been identified. Link to the PR: @mollfpr] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake. Link to comment:
No offending PR.
[@mollfpr] A discussion in #expensify-bugs has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner. Link to discussion:
The regression step should be good.
[@mollfpr] Determine if we should create a regression test for this bug.
[@mollfpr] If we decide to create a regression test for the bug, please propose the regression test steps to ensure the same bug will not reach production again
Create a group chat
Click on the plus icon > split bill
Enter the amount to go to confirm page
Click on the checkbox of one member
Use the arrow key to focus on another
Click enter key
Verify that the member which has the checkbox is focused is selected/de-selected
Activity
melvin-bot commentedon Jun 23, 2023
Triggered auto assignment to @greg-schroeder (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Jun 23, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)greg-schroeder commentedon Jun 23, 2023
I reproduced this. Although the keyboard navigation seems fine to me, the "enter" functionality does seem to be buggy:
2023-06-23_15-24-52.mp4
melvin-bot commentedon Jun 23, 2023
Looks like something related to
react-navigationmay have been mentioned in this issue discussion.As a reminder, please make sure that all proposals are not workarounds and that any and all attempt to fix the issue holistically have been made before proceeding with a solution. Proposals to change our
DeprecatedCustomActions.jsfiles should not be accepted.Feel free to drop a note in #expensify-open-source with any questions.
[-]Split bill - Keyboard works incorrectly selecting members if click on them before[/-][+][$1000] Split bill - Keyboard works incorrectly selecting members if click on them before[/+]melvin-bot commentedon Jun 23, 2023
Job added to Upwork: https://www.upwork.com/jobs/~015b770640f03d0c88
melvin-bot commentedon Jun 23, 2023
Current assignee @greg-schroeder is eligible for the External assigner, not assigning anyone new.
melvin-bot commentedon Jun 23, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @mollfpr (
External)[-][$1000] Split bill - Keyboard works incorrectly selecting members if click on them before[/-][+][$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/+]155 remaining items
greg-schroeder commentedon Jan 24, 2024
Okay - can you confirm for me ASAP @mollfpr? I'm going to hold off on the payment for now until I know what the payment amount should be taking regressions into account
mollfpr commentedon Jan 25, 2024
I tested the changes on the PR #32464, and yes, it did cause the issue here: #34761.
The selected proposal and the root cause explanation indicate that we wrongly passed the component as a function, which makes the issue.
@greg-schroeder I'm not sure how we seeing this as a regression or a side effect of the improvement we did.
greg-schroeder commentedon Jan 25, 2024
@mollfpr Yeah I see what you're saying. While it was maybe caused by it, it's not really a regression in the traditional sense
greg-schroeder commentedon Jan 25, 2024
The upwork job for this closed a long time ago due to inactivity so I will create a new one
greg-schroeder commentedon Jan 25, 2024
Offers sent to @mollfpr and @dukenv0307
Can you complete the checklist @mollfpr? Thanks!
[-][HOLD for payment 2024-01-24] [$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/-][+][C+ Checklist Needs Completion] [$1000] Keyboard navigation and selection is inconsistent in Split Bill UI[/+]mollfpr commentedon Jan 26, 2024
No offending PR.
The regression step should be good.
mollfpr commentedon Jan 26, 2024
@greg-schroeder You can cancel the offer for me; I'll do a manual request in NewDot. Could you give me the payment summary? Thank you!
greg-schroeder commentedon Jan 26, 2024
Oh, woops, I forgot, I'll cancel the offer.
@mollfpr is due $1k for this job
greg-schroeder commentedon Jan 26, 2024
Filed regression test, closing this out, I'll pay you right away once you accept offer @dukenv0307
JmillsExpensify commentedon Jan 26, 2024
$1,000 approved for @mollfpr based on this comment.
dukenv0307 commentedon Jan 29, 2024
@greg-schroeder Accepted, thank you!
melvin-bot commentedon Feb 13, 2024
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.