InAppbrowser can't edit input ionic 1

I use ng cordova auth to login from facebook and to store my token in my database. Whenever I tap login my app opens an inappbrowser that directs the user to facebook login page. However sometimes the password input cant be changed at all.

Is it a problem with the keyboard? Another similar thing keeps recurring whenever I open a payment gateway through inappbrowser and the same thing happens occasionally. I just dont want my users to be perplexed. Please help because this bug that occasionally shows up may degrade my app usability. I have included pictures.

The picture above the input cannot be focused. The picture below it focuses on the input and can be edited.