michaeltyson / TPKeyboardAvoiding

A drop-in universal solution for moving text fields out of the way of the keyboard in iOS

Home Page:http://atastypixel.com/blog/a-drop-in-universal-solution-for-moving-text-fields-out-of-the-way-of-the-keyboard/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

iOS 11 TPKeyboardAvoiding doesn't obey the safeAreaInsets

asifbilal786 opened this issue · comments

I am using this amazing library TPKeyboardAvoiding for many years but now I am having problem in iOS 11's. That is new property "safeAreaInsets" which is being introduced by Apple with the release of iPhone X. But TPKeyboardAvoiding doesn't obey the safeAreaInsets and hence doesn't scroll exactly when keyboard appears.

Please resolve this issue.

I'm dealing with this kind of issue too in iPhone X, the scrollview always leave a gap between the safeArea bottom limit and the superview. What can I do?
Thank you!

Same problem here, using bottom layout fix this issue but since iOS 11 Safe Area removes bottom layout

Also having this issue. Any way to fix it?