Skip to content

Commit 6d7aa3e

Browse files
nkdengineereh2077
andauthored
Update src/components/ButtonWithDropdownMenu/index.tsx
Co-authored-by: Eric Han <117511920+eh2077@users.noreply.github.com>
1 parent 04ed699 commit 6d7aa3e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/ButtonWithDropdownMenu

src/components/ButtonWithDropdownMenu/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ function ButtonWithDropdownMenu<IValueType>({
231231
anchorRef={nullCheckRef(dropdownAnchor)}
232232
withoutOverlay
233233
shouldUseScrollView
234-
scrollContainerStyle={shouldUseNarrowLayout ? styles.pv4 : undefined}
234+
scrollContainerStyle={shouldUseNarrowLayout && styles.pv4}
235235
shouldUseModalPaddingStyle={false}
236236
anchorAlignment={anchorAlignment}
237237
headerText={menuHeaderText}

0 commit comments

Comments
 (0)