Skip to content

Commit 1c348bf

Browse files
committed
fix: bottom sheet container layout measuring
1 parent 35d172c commit 1c348bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/components/bottomSheetContainer/BottomSheetContainer.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,11 @@ const BottomSheetContainerComponent = ({
2727
const containerStyle = useMemo(
2828
() => [
2929
styles.container,
30-
containerHeight ? { height: containerHeight } : {},
30+
!shouldMeasureHeight && containerHeight
31+
? { height: containerHeight }
32+
: {},
3133
],
32-
[containerHeight]
34+
[containerHeight, shouldMeasureHeight]
3335
);
3436
//#endregion
3537

0 commit comments

Comments
 (0)