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
[HOLD for payment 2024-11-13] [$250] iOS - Search - Search page cannot be dismissed by swiping to the right #51191
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Version Number: 9.0.51-2 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+kh081006@applause.expensifail.com Issue reported by: Applause - Internal Team
Action Performed:
Launch hybrid app (or standalone ND app)
Tap on the search icon on the top right
Swipe to the right to dismiss the search page (iOS swiping style)
Expected Result:
The search page can be dismissed by swiping to the right (the old Find page can be dismissed by swiping to the left)
Actual Result:
The search page cannot be dismissed by swiping to the right
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Android: Standalone
Android: HybridApp
Android: mWeb Chrome
iOS: Standalone
iOS: HybridApp
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop
Screenshots/Videos
Add any screenshot/video evidenceBug6641265_1729531612859.1729531201791_20241022_011757.mp4
@anmurali 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
Yes, I've set modal type to CENTRED_UNSWIPABLE on purpose because SelectionList behaved really strange(go on and test it yourself) on CENTRED modal. I didn't realise that it will break the swipe right pattern on iOS though.
Unfortunately I don't have a straightforward solution for this, I guess we will have to fix SelectionList behaviour on CENTRED_UNSWIPABLE modals.
I could take a look at it, after finishing this PR #51237, so it can take me like 1-2 days.
changed the title [-]iOS - Search - Search page cannot be dismissed by swiping to the right[/-][+][$250] iOS - Search - Search page cannot be dismissed by swiping to the right[/+]on Oct 29, 2024
Issue is ready for payment but no BZ is assigned. @MitchExpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!
[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: Not critical being done purpose, user can still able to go back using < button on top left so this doesn't block any user action
[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. - For same reason as above no regression test needed
Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributors
Activity
melvin-bot commentedon Oct 21, 2024
Triggered auto assignment to @anmurali (
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.lanitochka17 commentedon Oct 21, 2024
@anmurali 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
QichenZhu commentedon Oct 23, 2024
Proposal
Please re-state the problem that we are trying to solve in this issue.
Swiping to the right doesn't dismiss the search modal on iOS.
What is the root cause of that problem?
Swiping is disabled on purpose in the line below.
App/src/components/Search/SearchRouter/SearchRouterModal.tsx
Line 14 in 4f0ca94
What changes do you think we should make in order to solve the problem?
Simply setting the type to
CONST.MODAL.MODAL_TYPE.CENTEREDwould make the modal swipable, but it might not be the right solution.We need to understand why swiping was disabled first, maybe with the help of the original committer @SzymczakJ, and resolve their concerns.
What alternative solutions did you explore? (Optional)
N/A
SzymczakJ commentedon Oct 24, 2024
Yes, I've set modal type to
CENTRED_UNSWIPABLEon purpose because SelectionList behaved really strange(go on and test it yourself) onCENTREDmodal. I didn't realise that it will break the swipe right pattern on iOS though.Unfortunately I don't have a straightforward solution for this, I guess we will have to fix SelectionList behaviour on
CENTRED_UNSWIPABLEmodals.I could take a look at it, after finishing this PR #51237, so it can take me like 1-2 days.
melvin-bot commentedon Oct 24, 2024
@anmurali Whoops! This issue is 2 days overdue. Let's get this updated quick!
SzymczakJ commentedon Oct 28, 2024
FYI I started looking at this, feel free to assign me.
melvin-bot commentedon Oct 28, 2024
@anmurali 6 days overdue. This is scarier than being forced to listen to Vogon poetry!
[-]iOS - Search - Search page cannot be dismissed by swiping to the right[/-][+][$250] iOS - Search - Search page cannot be dismissed by swiping to the right[/+]melvin-bot commentedon Oct 29, 2024
Job added to Upwork: https://www.upwork.com/jobs/~021851376677882025777
24 remaining items
melvin-bot commentedon Nov 13, 2024
Issue is ready for payment but no BZ is assigned. @MitchExpensify you are the lucky winner! Please verify the payment summary looks correct and complete the checklist. Thanks!
melvin-bot commentedon Nov 13, 2024
Payment Summary
Upwork Job
BugZero Checklist (@MitchExpensify)
melvin-bot commentedon Nov 15, 2024
@pecanoro, @MitchExpensify, @ishpaul777 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!
ishpaul777 commentedon Nov 17, 2024
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: https://github.com/Expensify/App/pull/50143/files#r1845562712
[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: Not critical being done purpose, user can still able to go back using
<button on top left so this doesn't block any user action[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. - For same reason as above no regression test needed
MitchExpensify commentedon Nov 18, 2024
offer sent @ishpaul777 !
melvin-bot commentedon Nov 22, 2024
@pecanoro, @MitchExpensify, @ishpaul777 Whoops! This issue is 2 days overdue. Let's get this updated quick!
ishpaul777 commentedon Nov 22, 2024
I have accepted the offer 🙇
MitchExpensify commentedon Nov 23, 2024
Paid / contract ended, thanks @ishpaul777