You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like an issue with ionic-plugin-keyboard, but I thought it could be mitigated here.
I noticed that when entering text into an input and then closing the keyboard, everything works fine. But when entering text into an input, selecting another input, and then closing the keyboard, the body height stays small (as if the keyboard is still open).
I added a few console.log statements and noticed that the native.keyboardshow event is firing twice after the native.keyboardhide event when switching inputs. With the way ember-cordova-keyboard is coded to handle the body resizing, this._height is being reset to the initial body height, and then set to the calculated height because of the subsequent native.keyboardshow event that fires.
I think by just wrapping the line of code that sets this._height in a condition to check for isVisible this issue would be mitigated:
This looks like an issue with ionic-plugin-keyboard, but I thought it could be mitigated here.
I noticed that when entering text into an input and then closing the keyboard, everything works fine. But when entering text into an input, selecting another input, and then closing the keyboard, the body height stays small (as if the keyboard is still open).
I added a few console.log statements and noticed that the
native.keyboardshow
event is firing twice after thenative.keyboardhide
event when switching inputs. With the way ember-cordova-keyboard is coded to handle the body resizing,this._height
is being reset to the initialbody
height, and then set to the calculated height because of the subsequentnative.keyboardshow
event that fires.I think by just wrapping the line of code that sets
this._height
in a condition to check forisVisible
this issue would be mitigated:Here is a screen capture of the issue:
The text was updated successfully, but these errors were encountered: