@@ -58,7 +58,10 @@ import { BottomSheetBackgroundContainer } from '../bottomSheetBackground';
5858// import BottomSheetDebugView from '../bottomSheetDebugView';
5959import { BottomSheetFooterContainer } from '../bottomSheetFooter' ;
6060import BottomSheetGestureHandlersProvider from '../bottomSheetGestureHandlersProvider' ;
61- import { BottomSheetHandleContainer } from '../bottomSheetHandle' ;
61+ import {
62+ BottomSheetHandle ,
63+ BottomSheetHandleContainer ,
64+ } from '../bottomSheetHandle' ;
6265import { BottomSheetHostingContainer } from '../bottomSheetHostingContainer' ;
6366import { BottomSheetBody } from './BottomSheetBody' ;
6467import { BottomSheetContent } from './BottomSheetContent' ;
@@ -152,7 +155,7 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
152155 detached = false ,
153156
154157 // components
155- handleComponent,
158+ handleComponent = BottomSheetHandle ,
156159 backdropComponent : BackdropComponent ,
157160 backgroundComponent,
158161 footerComponent,
@@ -187,7 +190,8 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
187190 containerLayoutState ,
188191 topInset ,
189192 bottomInset ,
190- $modal
193+ $modal ,
194+ handleComponent === null
191195 ) ;
192196 const animatedDetentsState = useAnimatedDetents (
193197 _providedSnapPoints ,
@@ -1797,6 +1801,8 @@ const BottomSheetComponent = forwardRef<BottomSheet, BottomSheetProps>(
17971801 </ BottomSheetBody >
17981802 { /* <BottomSheetDebugView
17991803 values={{
1804+ index: animatedIndex,
1805+ position: animatedPosition,
18001806 sheetStatus: animatedSheetState,
18011807 scrollableStatus: animatedScrollableStatus,
18021808 layoutState: animatedLayoutState,
0 commit comments