@butternutbox/pawprint-native 0.19.1 → 0.19.2

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.
package/dist/index.js CHANGED
@@ -9319,6 +9319,7 @@ var NativeSelectPicker = React66.forwardRef(
9319
9319
  var _a2;
9320
9320
  const [isOpen, setIsOpen] = useState(false);
9321
9321
  const { iconAnimationStyles } = useIconAnimation();
9322
+ const { height: windowHeight } = useWindowDimensions();
9322
9323
  const hasPlaceholder = placeholder && Object.keys(placeholder).length > 0 && placeholder.label !== void 0;
9323
9324
  const allItems = useMemo(() => {
9324
9325
  var _a3;
@@ -9433,7 +9434,12 @@ var NativeSelectPicker = React66.forwardRef(
9433
9434
  );
9434
9435
  },
9435
9436
  style: {
9436
- maxHeight: parseSize2(dimensions2.spacing["8xl"])
9437
+ // Fill the bottom-sheet dialog (sized 40-80% of the
9438
+ // screen) rather than a tiny fixed cap, so all options
9439
+ // are reachable/scrollable on Android like the iOS
9440
+ // ActionSheet. Previously capped at spacing["8xl"],
9441
+ // which showed only ~1 row.
9442
+ maxHeight: windowHeight * 0.7
9437
9443
  }
9438
9444
  }
9439
9445
  )