Skip to content

Commit adea36b

Browse files
committed
add ios platform
1 parent 0b4e85c commit adea36b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/bottomsheet/bottomsheet.ios.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,11 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
406406
bottomSheet.dismissOnBackgroundTap = options.dismissOnBackgroundTap !== false;
407407
bottomSheet.dismissOnDraggingDownSheet = options.dismissOnDraggingDownSheet !== false;
408408

409+
const peekHeight = options.peekHeight;
410+
if(peekHeight){
411+
bottomSheet.preferredSheetHeight = peekHeight;
412+
}
413+
409414
if (options.trackingScrollView) {
410415
const scrollView = this.getViewById(options.trackingScrollView);
411416
if (scrollView && scrollView.nativeViewProtected instanceof UIScrollView) {

0 commit comments

Comments
 (0)