Partial Typing in iOS 10.3 for react native application

We have developed automation framework using appium with java for our application in iOS and Android.
Our application is purely build on react native as its an hybrid app and we are using Appium 1.7.2.

On iOS 11.x entering username and password is working fine but on iOS 10.x username and password are entered partially.

We have used both sendkeys() and setvalue() for it.

Please suggest a solution.

Thanks