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-03-21] [$250] mWeb - Search type menu gets stuck when changing type #57493
Version Number: 9.1.6-0 Reproducible in staging?: yes Reproducible in production?: yes If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: 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:@ikevin127 Slack conversation (hyperlinked to channel name): #expensify-bugs
Action Performed:
Open New Expensify app on mWeb.
2. Navigate to Reports.
3. Tap on the Search Type Menu button to open popover.
4. Switch search type to Chats.
Expected Result:
The search type menu popover should not freeze.
Actual Result:
The search type menu popover freezes when switching search type, blocking the user from interacting with the app.
Workaround:
unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
and because the navigation in onSelected happens too quickly before the modal hides it will make the modal stuck and prevent the closing of the popover even if the state isVisible state is set to false.
What changes do you think we should make in order to solve the problem?
We added the !isSafari check here to solve the attachment Native Menu not appearing for IOS web
So we have two options here
As I don't see the original problem now in safari we can remove the check
We can make the check optional and avoid applying it where it causes a problem like in this case via a param.(or only apply it where it is needed)
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 [-]mWeb - Search type menu gets stuck when changing type[/-][+][$250] mWeb - Search type menu gets stuck when changing type[/+]on Mar 3, 2025
changed the title [-][$250] mWeb - Search type menu gets stuck when changing type[/-][+][Due for payment 2025-03-21] [$250] mWeb - Search type menu gets stuck when changing type[/+]on Mar 14, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.12-7 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:
@rayane-d@flaviadefaria@rayane-d 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]
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Activity
melvin-bot commentedon Feb 26, 2025
Triggered auto assignment to @flaviadefaria (
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.FitseTLT commentedon Feb 26, 2025
Proposal
Please re-state the problem that we are trying to solve in this issue.
mWeb - Search type menu gets stuck when changing type
What is the root cause of that problem?
Though we use
shouldCallAfterModalHidethis problem is caused by!isSafaricheck hereApp/src/components/PopoverMenu.tsx
Line 215 in f965257
For
shouldCallAfterModalHidecases we would normally close modals and callonSelectedonModalDidCloseApp/src/components/PopoverMenu.tsx
Lines 217 to 223 in f965257
But now in safari the
onSelectedcallback is called immediately afteronItemSelected(which set isPopoverVisible false)App/src/components/PopoverMenu.tsx
Lines 225 to 226 in f965257
and because the navigation in onSelected happens too quickly before the modal hides it will make the modal stuck and prevent the closing of the popover even if the state isVisible state is set to false.
What changes do you think we should make in order to solve the problem?
We added the
!isSafaricheck here to solve the attachment Native Menu not appearing for IOS webSo we have two options here
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)
[-]mWeb - Search type menu gets stuck when changing type[/-][+][$250] mWeb - Search type menu gets stuck when changing type[/+]melvin-bot commentedon Mar 3, 2025
Job added to Upwork: https://www.upwork.com/jobs/~021896619851553050087
melvin-bot commentedon Mar 3, 2025
Triggered auto assignment to Contributor-plus team member for initial proposal review - @rayane-d (
External)flaviadefaria commentedon Mar 3, 2025
Added the external label.
linhvovan29546 commentedon Mar 5, 2025
Duplicate of #57068
12 remaining items
[-][$250] mWeb - Search type menu gets stuck when changing type[/-][+][Due for payment 2025-03-21] [$250] mWeb - Search type menu gets stuck when changing type[/+]melvin-bot commentedon Mar 14, 2025
Reviewinglabel has been removed, please complete the "BugZero Checklist".melvin-bot commentedon Mar 14, 2025
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.12-7 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-21. 🎊
For reference, here are some details about the assignees on this issue:
melvin-bot commentedon Mar 14, 2025
@rayane-d @flaviadefaria @rayane-d 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]
rayane-d commentedon Mar 18, 2025
BugZero Checklist:
Bug classification
Source of bug:
Where bug was reported:
Who reported the bug:
[Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.
Link to comment: Add search input to mobile search page(with fixed performance) #56326 (comment)
[Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.
Link to discussion: N/A
[Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.
[BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.
Link to issue: https://github.com/Expensify/Expensify/issues/483161
Regression Test Proposal
Precondition:
Test:
Do we agree 👍 or 👎
flaviadefaria commentedon Mar 21, 2025
Payment Summary
Contributor: @FitseTLT paid $250 via Upwork
Contributor+: @rayane-d due $250 via NewDot
flaviadefaria commentedon Mar 21, 2025
@FitseTLT has been paid and @rayane-d is good to request payment. Closing this issue.
garrettmknight commentedon Apr 10, 2025
$250 approved for @rayane-d