Skip to content

Commit

Permalink
Don't move the modals when the keyboard appears
Browse files Browse the repository at this point in the history
  • Loading branch information
emilylaguna committed Nov 29, 2022
1 parent 5e9d627 commit 6023c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions podcasts/End of Year/Stories/MDCSwiftUIWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ extension UIViewController {
bottomSheet.setShapeGenerator(shapeGenerator, for: .closed)
bottomSheet.isScrimAccessibilityElement = true
bottomSheet.scrimAccessibilityLabel = L10n.accessibilityDismiss
bottomSheet.ignoreKeyboardHeight = true

viewController.present(bottomSheet, animated: true, completion: nil)
}
Expand Down

0 comments on commit 6023c0f

Please sign in to comment.