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
[Due for payment 2025-10-17][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab #64927
Version Number: 9.1.71-1 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
Action Performed:
Launch app in both mweb and app with a new gmail account & perform below steps
Tap fab create expense
Tap flip to add minus sign
Enter an amount
Tap scan - try it out
Tap app top back arrow - manual
Expected Result:
In mweb & android, minus sign display must be consistent when navigating back from scan tab
Actual Result:
In mweb, minus sign is not shown but in android minus sign is displayed when navigating back from scan tab
Workaround:
Unknown
Platforms:
Select the officially supported platforms where the issue was reproduced:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Platforms Tested:
On which of our officially supported platforms was this issue tested:
Android: App
Android: mWeb Chrome
iOS: App
iOS: mWeb Safari
iOS: mWeb Chrome
Windows: Chrome
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6869543_1750857136024.Screenrecorder-2025-06-25-18-36-41-368.mp4
What changes do you think we should make in order to solve the problem?
We should set isNegative to false when selectedTab is changed.
useEffect(()=>{if(!currency||typeofabsoluteAmount!=='number'){return;}initializeAmount(absoluteAmount);setIsNegative(false);// we want to re-initialize the state only when the selected tab// eslint-disable-next-line react-compiler/react-compiler, react-hooks/exhaustive-deps},[selectedTab]);
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
changed the title [-]BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/-][+][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/+]on Jun 26, 2025
changed the title [-][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/-][+][Due for payment 2025-10-17][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/+]on Oct 17, 2025
Activity
melvin-bot commentedon Jun 25, 2025
Triggered auto assignment to @NicMendonca (
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.Krishna2323 commentedon Jun 25, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
BNP - Minus sign display is inconsistent consistent when navigating back from scan tab
What is the root cause of that problem?
isNegativestate is not re-initialized.App/src/pages/iou/MoneyRequestAmountForm.tsx
Lines 164 to 171 in 3310a94
What changes do you think we should make in order to solve the problem?
isNegativeto false whenselectedTabis changed.What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
N/A
What alternative solutions did you explore? (Optional)
Result
[-]BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/-][+][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/+]melvin-bot commentedon Jun 26, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021938297793877439425
melvin-bot commentedon Jun 26, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @Ollyws (
External)melvin-bot commentedon Jun 30, 2025
@Ollyws Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
Ollyws commentedon Jun 30, 2025
@Krishna2323's proposal LGTM.
🎀👀🎀 C+ reviewed
40 remaining items
Krishna2323 commentedon Oct 16, 2025
@luacmartins @NicMendonca this issue if fixed on main, I think we can now proceed to the payments here.
Monosnap.screencast.2025-10-17.01-31-50.mp4
[-][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/-][+][Due for payment 2025-10-17][$250] BNP - Minus sign display is inconsistent consistent when navigating back from scan tab[/+]NicMendonca commentedon Oct 20, 2025
Payment Summary
Contributor: @Krishna2323 paid $250 via NewDot
Contributor+: @Ollyws due $250 via NewDot
Ollyws commentedon Oct 23, 2025
Requested on ND.
Krishna2323 commentedon Oct 30, 2025
Requested in ND.
quinthar commentedon Nov 2, 2025
$250 approved to @Ollyws
JmillsExpensify commentedon Nov 3, 2025
$250 approved for @Krishna2323