-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[$250] Chat - Plus/FAB icon menu can't be opened by pressing Enter on keyboard #40602
Comments
Triggered auto assignment to @sakluger ( |
@sakluger FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors |
We think that this bug might be related to #vip-vsp |
ProposalPlease re-state the problem that we are trying to solve in this issue.Plus/FAB icon menu can't be opened by pressing Enter on keyboard What is the root cause of that problem?When the buttons are activated by pressing the 'Enter' key on the keyboard, the What changes do you think we should make in order to solve the problem?As we do here #40642 We should prevent the second keyboard action here if (event.key === 'Enter' || event.keyCode === ' ') {
return;
} POC: 20240422_112322.mp4 |
@sakluger Whoops! This issue is 2 days overdue. Let's get this updated quick! |
Asked Rory in Slack about the expected behavior here: https://expensify.slack.com/archives/C01GTK53T8Q/p1713811802815369 |
Job added to Upwork: https://www.upwork.com/jobs/~01f7e1c8f66a91018d |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @thesahindia ( |
Upwork job price has been updated to $125 |
Upwork job price has been updated to $250 |
ProposalPlease re-state the problem that we are trying to solve in this issue.Plus/FAB icon menu can't be opened by pressing Enter on keyboard What is the root cause of that problem?I's a bug withing What changes do you think we should make in order to solve the problem?Update 20240424_121834.mp4 |
@dragnoir, thanks for your latest proposal but @bernhardoj proposed the same thing just yesterday over here, after preparing the upstream PR and getting it merged. So I'm going to just put this on HOLD for #33502 for now and let @bernhardoj finish upgrading react-native-web. |
@miljakljajic assigning you to help watch this issue while I'm OOO through May 31. I'll take back over if it's still open when I return. All that needs to be done for now is to check on the hold issue #33502 weekly to see if it's made any movement. |
Removed @miljakljajic since I'm back. The PR linked to the hold issue is merged and on Staging. @roryabraham does that mean that we can start working on this one now, or should we wait until it's on prod? |
@sakluger After the PR is merged, the issue is half solved. The keyboard enter key opens the Plus icon when highlighted but does not close it when highlighted. Do we need to update our proposals? |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.4.78-5 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-06-11. 🎊 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:
|
@dragnoir good catch. Any idea why updating RN fixed open behavior but did not fix the close behavior? As for payment, no payment is due for the linked PR because payment is being handled in another linked issue. |
Payment Summary
BugZero Checklist (@sakluger)
|
Removed the payment information since no work was done specifically for this GH issue. Waiting to find out what's going on with the behavior around closing the menu. |
@dragnoir friendly bump - do you know why the close behavior wasn't fixed by updating RN? |
@sakluger hi, I don't think it's possible to highlight the FAB anymore to close it. Please see the video below. The TAB-bing focus is trapped within the FAB menu (it's the behavior for all popover/modal) Screen.Recording.2024-06-15.at.09.54.46.mov |
@sakluger, @thesahindia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues! |
Hey @bernhardoj, good point - thanks for pointing that out! We can close this issue out now. Since the linked PR was paid out on another issue, no payment is due here. For any questions, please bring it up in Slack. Thanks! |
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: 1.4.63-7
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Issue found when executing PR #40425
Action Performed:
Expected Result:
The Plus icon on chats can be highlighted and pressed using just the keyboard and TAB or SHIFT+TAB
Actual Result:
The Plus icon on chats can be highlighted on Desktop or Chrome but when pressing ENTER the menu appears and is immediately dismissed. On Safari using the keyboard and TAB or SHIFT+TAB does not get the plus icon highlighted
It's the same on the main FAB icon
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6455110_1713544744910.Recording__827.mp4
Bug6455110_1713544744922.Recording__828.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @saklugerThe text was updated successfully, but these errors were encountered: