We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b4e85c commit adea36bCopy full SHA for adea36b
src/bottomsheet/bottomsheet.ios.ts
@@ -406,6 +406,11 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
406
bottomSheet.dismissOnBackgroundTap = options.dismissOnBackgroundTap !== false;
407
bottomSheet.dismissOnDraggingDownSheet = options.dismissOnDraggingDownSheet !== false;
408
409
+ const peekHeight = options.peekHeight;
410
+ if(peekHeight){
411
+ bottomSheet.preferredSheetHeight = peekHeight;
412
+ }
413
+
414
if (options.trackingScrollView) {
415
const scrollView = this.getViewById(options.trackingScrollView);
416
if (scrollView && scrollView.nativeViewProtected instanceof UIScrollView) {
0 commit comments