From 1f46dd3db7d9d25dd8cf59dbb27d75b69a17a8e3 Mon Sep 17 00:00:00 2001 From: Rajat Chaudhary Date: Wed, 21 Aug 2024 14:53:38 +0530 Subject: [PATCH] fix: snapPoints height calculation in android --- packages/unstyled/actionsheet/src/ActionsheetContent.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/unstyled/actionsheet/src/ActionsheetContent.tsx b/packages/unstyled/actionsheet/src/ActionsheetContent.tsx index dd4e6c022..fcce0860c 100644 --- a/packages/unstyled/actionsheet/src/ActionsheetContent.tsx +++ b/packages/unstyled/actionsheet/src/ActionsheetContent.tsx @@ -16,7 +16,7 @@ import { mergeRefs } from '@gluestack-ui/utils'; import { useDialog } from '@react-native-aria/dialog'; import { usePreventScroll } from '@react-native-aria/overlays'; -const windowHeight = Dimensions.get('window').height; +const windowHeight = Dimensions.get('screen').height; function ActionsheetContent( StyledActionsheetContent: any, AnimatePresence?: any