diff --git a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx --- a/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx +++ b/modules/bottom-sheet/src/BottomSheetNativeComponent.tsx @@ -146,6 +146,7 @@ const insets = useSafeAreaInsets() const cornerRadius = rest.cornerRadius ?? 0 const {height: screenHeight} = useWindowDimensions() + const isHeightConstrained = maxHeight != null || rest.fullHeight === true // sigh... on older Android versions, screenHeight does not include safe area insets // on newer Androids + iOS, it does. we need to find the inner bit + the bottom inset @@ -182,7 +183,7 @@ ]}> + style={isHeightConstrained ? {flex: 1} : undefined}> {children} diff --git a/src/components/Dialog/index.tsx b/src/components/Dialog/index.tsx --- a/src/components/Dialog/index.tsx +++ b/src/components/Dialog/index.tsx @@ -157,7 +157,8 @@ [open, close], ) - const isHeightConstrained = nativeOptions?.maxHeight != null + const isHeightConstrained = + nativeOptions?.maxHeight != null || nativeOptions?.fullHeight === true const context = useMemo( () => ({