Skip to content

Commit

Permalink
Update BlueprintUICommonControls/Sources/Internal/KeyboardObserver.swift
Browse files Browse the repository at this point in the history
Co-Authored-By: Kyle Bashour <kylebshr@gmail.com>
  • Loading branch information
kyleve and kylebshr committed Mar 30, 2020
1 parent d7439b5 commit 175a19b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ final class KeyboardObserver {

self.center = center

/// We need to listen to both `will` and `keyboardWillChangeFrame` notifications. Why?
/// We need to listen to both `will` and `keyboardDidChangeFrame` notifications. Why?
/// When dealing with an undocked or floating keyboard, moving the keyboard
/// around the screen does NOT call `willChangeFrame`; only `didChangeFrame` is called.
/// Before calling the delegate, we compare `old.endingFrame != new.endingFrame`,
Expand Down

0 comments on commit 175a19b

Please sign in to comment.