Open lanitochka17 opened 3 hours ago
Triggered auto assignment to @slafortune (Bug
), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.
@slafortune 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
Workspaces is briefly highlighted after tapping Settings to return to Settings
When we press to the menu item it become highlighted and it stores the prev state until we return back
const isFocused = useIsFocused()
in InitialSettingsPage componentisFocused &&
in this condition.
isFocused &&
!!activeCentralPaneRoute &&
!!item.routeName &&
!!(activeCentralPaneRoute.name.toLowerCase().replaceAll('_', '') === item.routeName.toLowerCase().replaceAll('/', ''))
Also we ned to add the isFocused
in this dependencies array
Alternative of step 2
in above
Pass interactive={!isFocused}
prop to MenuItem component.
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: 9.0.52-1 Reproducible in staging?: Y Reproducible in production?: Y If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A If this was caught during regression testing, add the test name, ID and link from TestRail: N/A Email or phone of affected tester (no customers): applausetester+sdjosdjosd2@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Workspaces will not be highlighted after tapping Settings to return to Settings page
Actual Result:
Workspaces is briefly highlighted after tapping Settings to return to Settings page
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
https://github.com/user-attachments/assets/47fb0737-385e-4a5b-abef-f8aeb661fe77
View all open jobs on GitHub