@ornikar/kitt-universal 31.0.1 → 31.0.2-canary.e53cdb7e12a8aa3be6ae21c546ec9bcaca9b660c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11604,7 +11604,7 @@ function NavigationBottomSheet({
11604
11604
  snapPoints,
11605
11605
  maxDynamicContentSize,
11606
11606
  isVisible,
11607
- isExpanded,
11607
+ isExpanded = false,
11608
11608
  onClose
11609
11609
  }) {
11610
11610
  const bottomSheetRef = useBottomSheet();
@@ -11618,7 +11618,8 @@ function NavigationBottomSheet({
11618
11618
  }
11619
11619
  }, [bottomSheetRef, isVisible]);
11620
11620
  useEffect(() => {
11621
- if (isVisible && isExpanded) {
11621
+ if (!isVisible) return;
11622
+ if (isExpanded) {
11622
11623
  var _bottomSheetRef$curre3;
11623
11624
  (_bottomSheetRef$curre3 = bottomSheetRef.current) === null || _bottomSheetRef$curre3 === void 0 || _bottomSheetRef$curre3.expand();
11624
11625
  } else {