Skip to content

[$250] The swipe right to dismiss SearchModal stopped working. #65280

@m-natarajan

Description

@m-natarajan

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.73-0
Reproducible in staging?: Y
Reproducible in production?: Y
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: @jmusial
Slack conversation (hyperlinked to channel name): #QA Channel

Action Performed:

  1. Open App
  2. Open Search
  3. Dismiss keyboard
  4. Swipe right

Expected Result:

The search modal is closed, and the user is taken back to the previous screen

Actual Result:

Nothing happens and swipe right is not working

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 evidence
460633943-7c35988a-d8ec-4dd9-92ef-ee6fa0736bc6.mov

Solution:
Instead of
onStartShouldSetResponder={() => true}
onResponderRelease={Keyboard.dismiss}

do sth like

import { GestureDetector, Gesture } from 'react-native-gesture-handler';
import { Keyboard } from 'react-native';

const dismissKeyboardGesture = Gesture.Tap()
.onStart(() => {
Keyboard.dismiss();
});

{...

}

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021940502677321798308
  • Upwork Job ID: 1940502677321798308
  • Last Price Increase: 2025-07-02
Issue OwnerCurrent Issue Owner: @

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.ExternalAdded to denote the issue can be worked on by a contributorHelp WantedApply this label when an issue is open to proposals by contributorsReviewingHas a PR in reviewWeeklyKSv2

Type

No type
No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions