From e294d1ca59ff14f8b990cc52389151c131a95510 Mon Sep 17 00:00:00 2001 From: Moritz <93582572+MoritzCooks@users.noreply.github.com> Date: Sun, 19 May 2024 18:51:27 +0200 Subject: [PATCH] fix(BottomSheetContainer): cannot add new property 'value' (#1808)(by @MoritzCooks) * fix(BottomSheetContainer): `Cannot add new property 'value'` issue * fix(BottomSheetContainer): upload lib * Revert "fix(BottomSheetContainer): upload lib" This reverts commit 5ab27b636019056d8342a24cde94ff467481d6d8. --------- Co-authored-by: MoritzCooks --- src/components/bottomSheetContainer/BottomSheetContainer.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/bottomSheetContainer/BottomSheetContainer.tsx b/src/components/bottomSheetContainer/BottomSheetContainer.tsx index ffcd5448..72fe2cb4 100644 --- a/src/components/bottomSheetContainer/BottomSheetContainer.tsx +++ b/src/components/bottomSheetContainer/BottomSheetContainer.tsx @@ -48,6 +48,7 @@ function BottomSheetContainerComponent({ containerRef.current?.measure( (_x, _y, _width, _height, _pageX, pageY) => { + if (!containerOffset.value) return; containerOffset.value = { top: pageY ?? 0, left: 0,