I’m facing an issue with the Keyboard on iOS repeatedly opening after every touch event.
On my end, I can reproduce it by opening the keyboard on an input field and then navigating away from the page.
I tried to tap into the ionViewWillLeave() lifecycle event to call Keyboard.close() but it still pops up continuously on each touch event.
ionViewWillLeave(){
this.keyboard.close();
}
It doesn’t do this on Android and I have hideKeyboardAccessoryBar(false) set on iOS in our platform.ready().
if(platform.is('ios')){
this.keyboard.hideKeyboardAccessoryBar(false);
}
This was done because some of views with only a single input ended up with us not being able to dismiss the keyboard.
My package.json:
"---",
"ionic-plugin-keyboard": "^2.2.1",
"---",