From c946ba77754936bcbd22e673772bfc0b838a6bc6 Mon Sep 17 00:00:00 2001 From: Yauheni Date: Fri, 13 Oct 2023 18:48:08 +0200 Subject: [PATCH] Fix bug with Page is skewed when dragging Scan content to the right --- src/pages/iou/ReceiptSelector/index.js | 5 ++--- src/pages/iou/ReceiptSelector/index.native.js | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/iou/ReceiptSelector/index.js b/src/pages/iou/ReceiptSelector/index.js index fba792029914..ca9fe90575e7 100644 --- a/src/pages/iou/ReceiptSelector/index.js +++ b/src/pages/iou/ReceiptSelector/index.js @@ -165,7 +165,6 @@ function ReceiptSelector({route, transactionID, iou, report}) { const panResponder = useRef( PanResponder.create({ - onMoveShouldSetPanResponder: () => true, onPanResponderTerminationRequest: () => false, }), ).current; @@ -181,7 +180,7 @@ function ReceiptSelector({route, transactionID, iou, report}) { /> )} {cameraPermissionState === 'denied' && ( - + diff --git a/src/pages/iou/ReceiptSelector/index.native.js b/src/pages/iou/ReceiptSelector/index.native.js index 6503d488e805..8bf13422f70c 100644 --- a/src/pages/iou/ReceiptSelector/index.native.js +++ b/src/pages/iou/ReceiptSelector/index.native.js @@ -159,7 +159,7 @@ function ReceiptSelector({route, report, iou, transactionID, isInTabNavigator}) return ( {cameraPermissionStatus !== RESULTS.GRANTED && ( - +