Skip to content

Commit f5452b7

Browse files
committed
fix button height not included
1 parent d828d4c commit f5452b7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/MoneyRequestReportView/MoneyRequestReportTransactionList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ function MoneyRequestReportTransactionList({
491491
const groupByPopoverComponent = useCallback(
492492
(props: {closeOverlay: () => void}) => (
493493
<View style={[styles.pv4]}>
494-
<View style={styles.getSelectionListPopoverHeight({itemCount: groupByOptions.length || 1, windowHeight, isInLandscapeMode})}>
494+
<View style={styles.getSelectionListPopoverHeight({itemCount: groupByOptions.length || 1, windowHeight, isInLandscapeMode, hasButton: false})}>
495495
<SelectionList
496496
data={groupByOptions}
497497
shouldSingleExecuteRowSelect

src/styles/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6292,7 +6292,7 @@ const dynamicStyles = (theme: ThemeColors) =>
62926292
isInLandscapeMode,
62936293
hasTitle,
62946294
hasHeader,
6295-
hasButton,
6295+
hasButton = true,
62966296
isSearchable,
62976297
extraHeight = 0,
62986298
}: SelectionListPopover) => {

0 commit comments

Comments
 (0)