Skip to content
This repository was archived by the owner on Apr 2, 2018. It is now read-only.

Commit 46ba56a

Browse files
committed
namespace keyboardshow event
1 parent ff4ef18 commit 46ba56a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/android/IonicKeyboard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public void onGlobalLayout() {
3636
int heightDiff = rootView.getRootView().getHeight() - (r.bottom - r.top);
3737
if (heightDiff > 200 && heightDiff != previousHeightDiff) { // if more than 100 pixels, its probably a keyboard...
3838
int keyboardHeight = (int)(heightDiff / density);
39-
appView.sendJavascript("cordova.fireWindowEvent('showkeyboard', { 'keyboardHeight':" + Integer.toString(keyboardHeight)+"});");
39+
appView.sendJavascript("cordova.fireWindowEvent('ionic.showkeyboard', { 'keyboardHeight':" + Integer.toString(keyboardHeight)+"});");
4040
}
4141
previousHeightDiff = heightDiff;
4242
}

0 commit comments

Comments
 (0)