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 4ef8c84 commit 613490dCopy full SHA for 613490d
src/bottomsheet/bottomsheet.ios.ts
@@ -407,9 +407,10 @@ export class ViewWithBottomSheet extends ViewWithBottomSheetBase {
407
bottomSheet.dismissOnDraggingDownSheet = options.dismissOnDraggingDownSheet !== false;
408
409
const peekHeight = options.peekHeight;
410
- if(peekHeight){
411
- bottomSheet.preferredSheetHeight = peekHeight;
+ if (peekHeight) {
+ (bottomSheet.presentationController as MDCBottomSheetPresentationController).preferredSheetHeight = peekHeight;
412
}
413
+ (bottomSheet.presentationController as MDCBottomSheetPresentationController).ignoreKeyboardHeight = true;
414
415
if (options.trackingScrollView) {
416
const scrollView = this.getViewById(options.trackingScrollView);
0 commit comments