Keyboard "blinks" on changing focus from one input field to another

Hi All,

I am having issue with keyboard in ionic2. I have form with few input elements and when changing focus, clicking from one field to another, keyboard quickly closes and opens again, producing blinking effect (I am not sure is blink right word) which looks ugly.

I lost few days looking for some solution, already tried all suggestions I could find on the web, nothing worked. Keyboard plugin is installed, I tried also:
cordova.plugins.Keyboard.hideKeyboardAccessoryBar(false); cordova.plugins.Keyboard.disableScroll(true);

no luck.

I am testing on Nexus 5 and Android 6.0.1.

Any help is appreciated. Thank you.

No one else have this issue?

It doesn’t happen on IOS 9.3, it just adds a huge scroll to the page :slight_smile:

Right, I already tested on iOS simulator and this issue is not happening but I see it on Android devices.

I am seeing this as well on LG G3 running Android 5.0.1. Definitely need a solution to this. No issue on iOS.

As I figured out, not sure I am correct, when you click on second field focus is lost, content scrolls and than focus is added to second field, that cause keyboard to close and open quickly, it is basically closed while content is scrolling. Is it possible somehow to disable content scroll?

I also noticed that focus event is triggered twice when you click on some ion-input filed, not sure could this cause this issue.

Anyway, I would like to find some solution also.

I see this when I upload to Ionic View. Have not tested with ionic run android --device. How have you tested?

Same thing when running on device.

This happens only on ion-input, does not happen on normal input elements btw

It is happening on Android devices. I tested also on iPhone simulator and there are no issues like this.

Seems android is trying to resize the whole content (the native web view)

Note, we still need to work out a few things with keyboards/inputs in v2, so this isn’t it’s final form.
Please open an issue on github

Thanks Mike. Certainly understand and appreciate Ionic team’s work and support. I will open the issue this afternoon. Larry

Issue opened: