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-07-04] [$250] reports-From and date bottom modal able to be opened together by tapping both tabs quickly. #63409
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Version Number: v9.1.56-9 Reproducible in staging?: Yes Reproducible in production?: Yes 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):slottwo1gcd1@gmail.com Issue reported by: Applause Internal Team Device used: Redminote 10s android 13 phone App Component: User Settings
Action Performed:
Launch app
Go to reports
Tap from and date dropdown quickly
Expected Result:
From and date bottom modal must not be able to be opened together by tapping both tabs quickly.
Actual Result:
From and date bottom modal able to be opened together by tapping both tabs quickly.
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
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)
N/A
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
changed the title [-]reports-From and date bottom modal able to be opened together by tapping both tabs quickly.[/-][+][$250] reports-From and date bottom modal able to be opened together by tapping both tabs quickly.[/+]on Jun 4, 2025
Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor
Activity
melvin-bot commentedon Jun 4, 2025
Triggered auto assignment to @lschurr (
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.nkdengineer commentedon Jun 4, 2025
🚨 Edited by proposal-police: This proposal was edited at 2025-06-04 04:29:41 UTC.
Proposal
Please re-state the problem that we are trying to solve in this issue.
From and date bottom modal able to be opened together by tapping both tabs quickly.
What is the root cause of that problem?
We don't have the logic to prevent opening second popover when the first one is open
App/src/components/Search/FilterDropdowns/DropdownButton.tsx
Line 58 in 649eff9
What changes do you think we should make in order to solve the problem?
Solution 1:
In
DropdownButtonwe can getwillAlertModalBecomeVisiblefrommodalto detect if there's open modalSolution 2:
We should define the
isPopoverOpenref in SearchFiltersBarThen use it in DropdownButton to prevent opening the second popover
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
None
What alternative solutions did you explore? (Optional)
NA
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
dmkt9 commentedon Jun 4, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
From and date bottom modal able to be opened together by tapping both tabs quickly.
What is the root cause of that problem?
Because the DropdownButton does not have a mechanism to close other popovers when opening a popover:
App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 292 to 313 in d03ff24
App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 379 to 386 in d03ff24
What changes do you think we should make in order to solve the problem?
Add a mechanism to close all other popovers if they are open when opening a new one:
onToggleVisibleprop forDropdownButtonto pass the toggled state back to the parent:App/src/components/Search/FilterDropdowns/DropdownButton.tsx
Line 29 in d03ff24
App/src/components/Search/FilterDropdowns/DropdownButton.tsx
Line 39 in d03ff24
App/src/components/Search/FilterDropdowns/DropdownButton.tsx
Line 67 in d03ff24
closeOverlayhandlers and handle closing other popovers when opening one:App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 292 to 313 in d03ff24
onToggleVisibleprop toDropdownButton:App/src/components/Search/SearchPageHeader/SearchFiltersBar.tsx
Lines 380 to 385 in d03ff24
👍 test branch
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)
N/A
Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.
[-]reports-From and date bottom modal able to be opened together by tapping both tabs quickly.[/-][+][$250] reports-From and date bottom modal able to be opened together by tapping both tabs quickly.[/+]melvin-bot commentedon Jun 4, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021930286650964375781
melvin-bot commentedon Jun 4, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @suneox (
External)nkdengineer commentedon Jun 9, 2025
@suneox What do you think about my proposal?
suneox commentedon Jun 9, 2025
Thank you for all the proposals. I'll take a look at this one within today
20 remaining items
dangrous commentedon Jul 1, 2025
Just to confirm, this had a regression that was then fixed, right?
melvin-bot commentedon Jul 3, 2025
If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.
If a regression has occurred and you are the assigned CM follow the instructions here.
If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.
suneox commentedon Jul 3, 2025
Yes, the previous regression issue was fixed. I'm not sure if we're seeing another regression here, as a new issue doesn't occur on the production
dangrous commentedon Jul 4, 2025
seems unrelated based on the discussion on that issue so I think we're good!
lschurr commentedon Jul 4, 2025
Alright, cool! So this should be $125 payments right @dangrous @suneox?
suneox commentedon Jul 4, 2025
Yes, that's correct — it should be 50% of the original price since this is a regression fix.
lschurr commentedon Jul 7, 2025
Payment summary: