-
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
[Due for payment 2025-03-13] [$250] Web - Action menu - Pressing tab does not navigate through action menu badges #57022
Comments
Triggered auto assignment to @jliexpensify ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Web - Action menu - Pressing tab does not navigate through action menu badges What is the root cause of that problem?We display the action menu when hovering, based on the App/src/pages/home/report/PureReportActionItem.tsx Lines 1185 to 1196 in 18c43dd
However, when we press 'Tab' to focus to the next item, the onBlur inside ActiveHoverable is triggered, causing hovered to be false lead to the action menu being hidden, preventing focus from moving to the next action menu item.
What changes do you think we should make in order to solve the problem?Previously, we only set hovered is App/src/components/Hoverable/ActiveHoverable.tsx Lines 109 to 111 in e676248
if (!elementRef.current?.contains(e.target as Node) && !elementRef.current?.contains(e.relatedTarget as Node)) {
handleMouseEvents('blur')();
} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A, UI bug What alternative solutions did you explore? (Optional)N/A |
ProposalPlease re-state the problem that we are trying to solve in this issue.Pressing Tab doesn't navigate through the emoji reaction. What is the root cause of that problem?When we are navigating through the reaction using Tab, the report action item is blurred. If it's blurred, the hovered state is set to false. App/src/components/Hoverable/ActiveHoverable.tsx Lines 109 to 111 in 7ad53a7
App/src/components/Hoverable/ActiveHoverable.tsx Lines 86 to 90 in 7ad53a7
And the mini context menu won't show anymore if it's not hovered. What changes do you think we should make in order to solve the problem?The The issue that the onBlur is trying to solve isn't reproducible anymore, so I suggest removing the onBlur workaround to set the hovered state to false. Hover state should rely only on mouse enter and leave event. What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?N/A |
|
Job added to Upwork: https://www.upwork.com/jobs/~021892038726903190623 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ishpaul777 ( |
I can repro this one |
@jliexpensify, @ishpaul777 Eep! 4 days overdue now. Issues have feelings too... |
will check this tomorrow |
I like the idea of removing the old workaround if the issue is no longer relevant, and it fixes the issue lets go with @bernhardoj proposal. 🎀 👀 🎀 |
Triggered auto assignment to @yuwenmemon, see https://stackoverflow.com/c/expensify/questions/7972 for more details. |
Looks like my issue here has the same root cause as this issue. I'll close mine in favor of keeping this one open! |
PR is ready cc: @ishpaul777 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.9-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 2025-03-13. 🎊 For reference, here are some details about the assignees on this issue:
|
@ishpaul777 @jliexpensify @ishpaul777 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] |
Bumping @ishpaul777 for the checklist |
BugZero Checklist:
Bug classificationSource of bug:
Where bug was reported:
Who reported the bug:
Regression Test Proposal Template
Regression Test ProposalPrecondition:Test:Do we agree 👍 or 👎 |
|
Payment Summary
|
Requested in ND. |
1 similar comment
Requested in ND. |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Version Number: 56992
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5605616
Issue reported by: Applause Internal Team
Device used: v9.1.0-0
App Component: Chat Report View
Action Performed:
Expected Result:
User can navigate through action menu badges by pressing tab to reach emoji picker.
Actual Result:
Pressing tab after the first badge is highlighted, stops navigating through action menu badges and navigates through conversation.
Workaround:
Unknown
Platforms:
Screenshots/Videos
Bug6746658_1739882211399.bandicam_2025-02-18_14-34-12-449.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @jliexpensifyThe text was updated successfully, but these errors were encountered: