Skip to content

Commit

Permalink
Merge pull request #25750 from dhairyasenjaliya/dragDropImprove
Browse files Browse the repository at this point in the history
Added Condition to check drag & drop works only on scan page
  • Loading branch information
yuwenmemon authored Aug 28, 2023
2 parents c975de8 + b8a8c42 commit ed2609c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/MoneyRequestSelectorPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function MoneyRequestSelectorPage(props) {
>
{({safeAreaPaddingBottomStyle}) => (
<FullPageNotFoundView shouldShow={!IOUUtils.isValidMoneyRequestType(iouType)}>
<DragAndDropProvider isDisabled={props.selectedTab === CONST.TAB.MANUAL}>
<DragAndDropProvider isDisabled={props.selectedTab !== CONST.TAB.SCAN}>
<View style={[styles.flex1, safeAreaPaddingBottomStyle]}>
<HeaderWithBackButton
title={title[iouType]}
Expand Down

0 comments on commit ed2609c

Please sign in to comment.