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
[$500] IOU - Blue box surrounding the currency after the currency selection #31687
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Version Number: v1.4.2-0 Reproducible in staging?: Y Reproducible in production?: N If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs:https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: Applause-Internal Team Slack conversation: @
Action Performed:
Navigate to staging.new.expensify.com.
Click FAB > Request money.
Click on the currency.
Choose any currency and hit ENTER to select.
Expected Result:
There will be no blue box surrounding the currency after the selection.
Actual Result:
There is a blue box surrounding the currency after the selection.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
changed the title [-]IOU - Blue box surrounding the currency after the currency selection[/-][+][$500] IOU - Blue box surrounding the currency after the currency selection[/+]on Nov 22, 2023
Another issue with the same root cause here #31725. I guess this happens in many places, perhaps we should set shouldReturnFocusOnDeactivate to false by default?
Please re-state the problem that we are trying to solve in this issue.
Workspace - Blue focus is shown when changing workspace name
What is the root cause of that problem?
We added a focus trap in this PR #27670 which makes the focus after we submit a form with enter key
What changes do you think we should make in order to solve the problem?
In WorkspaceInitalPage, we should add shouldDisableFocusTrap as false into ScreenWrapper. We should also add this prop to other pages which can navigate to a page that contains a form.
What alternative solutions did you explore? (Optional)
We can change shouldDisableFocusTrap to shouldEnableFocusTrap since almost all pages shouldn't enable focus trap
and update this condition to isEnabled={shouldEnableFocusTrap}
BugSomething is broken. Auto assigns a BugZero manager.EngineeringExternalAdded to denote the issue can be worked on by a contributorReviewingHas a PR in reviewWeeklyKSv2
Activity
[-]IOU - Blue box surrounding the currency after the currency selection[/-][+][$500] IOU - Blue box surrounding the currency after the currency selection[/+]melvin-bot commentedon Nov 22, 2023
Job added to Upwork: https://www.upwork.com/jobs/~01a4bb2613eb2f6256
melvin-bot commentedon Nov 22, 2023
Triggered auto assignment to @JmillsExpensify (
Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.melvin-bot commentedon Nov 22, 2023
Bug0 Triage Checklist (Main S/O)
Platformsin OP are ✅)melvin-bot commentedon Nov 22, 2023
Triggered auto assignment to Contributor-plus team member for initial proposal review - @akinwale (
External)11 remaining items
lakchote commentedon Nov 22, 2023
The issue comes from this PR and is a regression. cc @roryabraham @kosmydel could you please fix it while considering @bernhardoj proposal above?
I've removed the Deploy Blocker since it's not that sensitive of an issue.
bernhardoj commentedon Nov 22, 2023
Another issue with the same root cause here #31725. I guess this happens in many places, perhaps we should set
shouldReturnFocusOnDeactivatetofalseby default?dukenv0307 commentedon Nov 22, 2023
Proposal
Please re-state the problem that we are trying to solve in this issue.
Workspace - Blue focus is shown when changing workspace name
What is the root cause of that problem?
We added a focus trap in this PR #27670 which makes the focus after we submit a form with enter key
What changes do you think we should make in order to solve the problem?
In
WorkspaceInitalPage, we should addshouldDisableFocusTrapasfalseintoScreenWrapper. We should also add this prop to other pages which can navigate to a page that contains a form.App/src/pages/workspace/WorkspaceInitialPage.js
Line 236 in b30b555
What alternative solutions did you explore? (Optional)
We can change
shouldDisableFocusTraptoshouldEnableFocusTrapsince almost all pages shouldn't enable focus trapand update this condition to
isEnabled={shouldEnableFocusTrap}App/src/components/ScreenWrapper/index.js
Line 155 in b30b555
luacmartins commentedon Nov 22, 2023
@kosmydel can you please add this issue to your list when you work on v3 of #27670?
lakchote commentedon Nov 27, 2023
Waiting for @kosmydel working on the fix. He's currently working on the ideal nav (link)
kosmydel commentedon Nov 27, 2023
I think we can close this issue, as the PR was reverted. I am going to fix it when I prepare a new PR.
lakchote commentedon Nov 27, 2023
Closing this issue as it's no longer happening since the PR was reverted. @kosmydel will create a new PR to address this issue.