Skip to content

Commit 5d2e2f0

Browse files
committed
Fix interactive pop
1 parent dfdc822 commit 5d2e2f0

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

Sources/KeyboardManager/KeyboardManager.swift

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,6 @@ open func bind(inputAccessoryView: UIView, withAdditionalBottomSpace additionalB
336336
else { return }
337337

338338
guard
339-
// if there's no difference in frames for the `cachedNotification`, no adjustment is necessary.
340-
// This is true when the keyboard is completely dismissed, or our pan doesn't intersect below the keyboard
341-
keyboardNotification.startFrame != keyboardNotification.endFrame,
342339
// when the width of the keyboard from endFrame is smaller than the width of scrollView manager is tracking
343340
// with panGesture, we can assume the keyboard is floatig ahd updating inputAccessoryView is not necessary
344341
keyboardNotification.endFrame.width >= view.frame.width

0 commit comments

Comments
 (0)