Skip to content

Commit

Permalink
Merge pull request #33365 from Krishna2323/krishna2323/issue/30805
Browse files Browse the repository at this point in the history
fix: edit box with parent message not focused.
  • Loading branch information
aldo-expensify authored Jan 12, 2024
2 parents 4e00863 + 5d7174b commit 8ede904
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/pages/home/report/ReportActionItemParentAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ const propTypes = {
/** The id of the report */
reportID: PropTypes.string.isRequired,

/** Position index of the report parent action in the overall report FlatList view */
index: PropTypes.number.isRequired,

/** The id of the parent report */
// eslint-disable-next-line react/no-unused-prop-types
parentReportID: PropTypes.string.isRequired,
Expand Down Expand Up @@ -72,7 +75,7 @@ function ReportActionItemParentAction(props) {
displayAsGroup={false}
isMostRecentIOUReportAction={false}
shouldDisplayNewMarker={props.shouldDisplayNewMarker}
index={0}
index={props.index}
/>
)}
</View>
Expand Down
1 change: 1 addition & 0 deletions src/pages/home/report/ReportActionsListItemRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function ReportActionsListItemRenderer({
reportID={report.reportID}
parentReportID={`${report.parentReportID}`}
shouldDisplayNewMarker={shouldDisplayNewMarker}
index={index}
/>
) : (
<ReportActionItem
Expand Down

0 comments on commit 8ede904

Please sign in to comment.