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 bfc242a commit b173a1fCopy full SHA for b173a1f
Sources/KeyboardLayoutGuide/KeyboardLayoutGuide.swift
@@ -189,6 +189,10 @@ extension Notification {
189
190
let keyboardMinY = keyboardFrame.cgRectValue.minY
191
192
+ if keyboardMinY == 0 {
193
+ return 0
194
+ }
195
+
196
// Weirdly enough UIKeyboardFrameEndUserInfoKey doesn't have the same behaviour
197
// in ios 10 or iOS 11 so we can't rely on v.cgRectValue.width
198
if let pvc = Keyboard.shared.presentedViewController,
0 commit comments