File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ import * as Expensicons from '@components/Icon/Expensicons';
88import PopoverMenu from '@components/PopoverMenu' ;
99import useKeyboardShortcut from '@hooks/useKeyboardShortcut' ;
1010import useResponsiveLayout from '@hooks/useResponsiveLayout' ;
11+ import useSafeAreaPaddings from '@hooks/useSafeAreaPaddings' ;
1112import useStyleUtils from '@hooks/useStyleUtils' ;
1213import useTheme from '@hooks/useTheme' ;
1314import useThemeStyles from '@hooks/useThemeStyles' ;
@@ -81,6 +82,8 @@ function ButtonWithDropdownMenuInner<IValueType>(props: ButtonWithDropdownMenuPr
8182 const nullCheckRef = ( refParam : RefObject < View | null > ) => refParam ?? null ;
8283 const shouldShowButtonRightIcon = ! ! options . at ( 0 ) ?. shouldShowButtonRightIcon ;
8384
85+ const { paddingBottom} = useSafeAreaPaddings ( true ) ;
86+
8487 useEffect ( ( ) => {
8588 if ( ! dropdownAnchor . current ) {
8689 return ;
@@ -265,7 +268,7 @@ function ButtonWithDropdownMenuInner<IValueType>(props: ButtonWithDropdownMenuPr
265268 anchorRef = { nullCheckRef ( dropdownAnchor ) }
266269 withoutOverlay
267270 shouldUseScrollView
268- scrollContainerStyle = { ! shouldUseModalPaddingStyle && isSmallScreenWidth && styles . pv4 }
271+ scrollContainerStyle = { ! shouldUseModalPaddingStyle && isSmallScreenWidth && { ... styles . pt4 , paddingBottom } }
269272 shouldUseModalPaddingStyle = { shouldUseModalPaddingStyle }
270273 anchorAlignment = { anchorAlignment }
271274 headerText = { menuHeaderText }
You can’t perform that action at this time.
0 commit comments