fix first sheet height change not registering (#8267)

This commit is contained in:
Samuel Newman
2025-04-22 21:49:20 +03:00
committed by GitHub
parent dba0bd8379
commit b1550f9c02
3 changed files with 11 additions and 7 deletions
@@ -1,18 +1,21 @@
import * as React from 'react'
import {
Dimensions,
LayoutChangeEvent,
NativeSyntheticEvent,
type LayoutChangeEvent,
type NativeSyntheticEvent,
Platform,
StyleProp,
type StyleProp,
View,
ViewStyle,
type ViewStyle,
} from 'react-native'
import {useSafeAreaInsets} from 'react-native-safe-area-context'
import {requireNativeModule, requireNativeViewManager} from 'expo-modules-core'
import {isIOS} from '#/platform/detection'
import {BottomSheetState, BottomSheetViewProps} from './BottomSheet.types'
import {
type BottomSheetState,
type BottomSheetViewProps,
} from './BottomSheet.types'
import {BottomSheetPortalProvider} from './BottomSheetPortal'
import {Context as PortalContext} from './BottomSheetPortal'