Skip to content

Commit 3cc82ae

Browse files
committed
Wrap header into CollapsibleHeaderOnKeyboard in SearchMoneyRequestReportPage
1 parent ea7bb90 commit 3cc82ae

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/components/MoneyRequestReportView/MoneyRequestReportView.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import React, {useCallback, useEffect, useMemo} from 'react';
66
import {Animated, InteractionManager, ScrollView, View} from 'react-native';
77
import type {LayoutChangeEvent} from 'react-native';
88
import type {OnyxEntry} from 'react-native-onyx';
9+
import CollapsibleHeaderOnKeyboard from '@components/CollapsibleHeaderOnKeyboard';
910
import MoneyReportHeader from '@components/MoneyReportHeader';
1011
import MoneyRequestHeader from '@components/MoneyRequestHeader';
1112
import OfflineWithFeedback from '@components/OfflineWithFeedback';
@@ -246,7 +247,7 @@ function MoneyRequestReportView({report, reportLoadingState, shouldDisplayReport
246247
needsOffscreenAlphaCompositing
247248
shouldShowErrorMessages={false}
248249
>
249-
{reportHeaderView}
250+
<CollapsibleHeaderOnKeyboard>{reportHeaderView}</CollapsibleHeaderOnKeyboard>
250251
</OfflineWithFeedback>
251252
<OfflineWithFeedback
252253
pendingAction={reportPendingAction}

0 commit comments

Comments
 (0)