From 5d865b9f23aed5c788d92f9cfac6363330683e71 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 25 Feb 2025 09:36:45 -0600 Subject: [PATCH] Fix max height of dialog flatlists --- src/components/Dialog/index.web.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Dialog/index.web.tsx b/src/components/Dialog/index.web.tsx index 066cfbd3a5..d91502a4ff 100644 --- a/src/components/Dialog/index.web.tsx +++ b/src/components/Dialog/index.web.tsx @@ -219,8 +219,8 @@ export const InnerFlatList = React.forwardRef< style={[ a.overflow_hidden, a.px_0, - // @ts-expect-error web only -sfn - {maxHeight: 'calc(-36px + 100vh)'}, + // 100 minus 10vh of paddingVertical + web({maxHeight: '80vh'}), webInnerStyle, ]} contentContainerStyle={[a.px_0, webInnerContentContainerStyle]}>