danielamitay / DAKeyboardControl

DAKeyboardControl adds keyboard awareness and scrolling dismissal (ala iMessages app) to any view with only 1 line of code.
Other
1.58k stars 214 forks source link

Fix which keeps from animating keyboardPanningActionHandler when keyboard is animated from a UINavigationController push #71

Open brynbodayle opened 10 years ago

brynbodayle commented 10 years ago

There might be a better way to handle this, but basically if you are pushing a view controller onto a UINavigationController stack and you bring up the keyboard before it is pushed, the keyboard animates horizontally instead of vertically. This will make the resizing of the views in the keyboardPanningActionHandler animated which they really don't need to be.