cordova-plugin-keyboard icon indicating copy to clipboard operation
cordova-plugin-keyboard copied to clipboard

Show/hide events are triggered when switching between inputs

Open thomasfw opened this issue 6 years ago • 3 comments

If I tab between inputs or press on another input, the keyboard remains in place, but the keyboardWillShow/keyboardDidShow, keyboardWillHide/ keyboardDidHide events are triggered

thomasfw avatar Mar 19 '18 11:03 thomasfw

Then we also would need an event for the FormAccessoryBar.

Because right now as far as I can see there is no event if I change the focus on some form elements. Right now I would need to react on that without monkey patching document.activeElement.

StefanRein avatar Jan 14 '19 18:01 StefanRein

I also have this same problem, do you have some update/clue for it?

B4RteQPl avatar Aug 14 '19 09:08 B4RteQPl

@B4RteQPl I had some problems and did need to hook into these events because I did not use the ion-inputs inside a ion-item element. Then you will need to fix a lot yourself.. like the caret etc. If you are using it inside a ion-item element and want to hook into this event for another reason, maybe it is possible to just set a small timer and ignore one event meanwhile it is fired under 100ms or so for you.

StefanRein avatar Aug 14 '19 12:08 StefanRein