AdaSupport / ios-sdk

EmbedFramework is a small iOS SDK that is used to embed the Ada Chat bot into native iOS applications.
MIT License
4 stars 21 forks source link

EM-97: Keyboard dismissal fix for injected view #3

Closed NicHaley closed 5 years ago

NicHaley commented 5 years ago

The problem

This fixes an issue where the keyboard dismissal in iOS 12 / 13 would not allow the viewport content to return to position.

We had a fix for this in the summer, but the fix only worked for the nav and modal view methods.

This fix also prevents the keyboard hide observer from being added every time a modal or nav view is opened. This was causing multiple redundant events to fire.

Why this is Important

Telus found the issue and needs it resolved in order to deploy their MyWifi App