ionic-team / cordova-plugin-ionic-keyboard

Keyboard Plugin for Cordova
Other
191 stars 177 forks source link

Events not firing when using floating keyboard #163

Open MarrsAttax opened 3 years ago

MarrsAttax commented 3 years ago

I am using a Samsung Galaxy Tab A. The on-screen keyboard mode is set to use a floating keyboard. I am trying to capture the keyboardWillShow event but this event is not firing. If I set the keyboard mode to the default 'standard keyboard' then the event does fire.

I am using this code to capture the event:

 Plugins.Keyboard.addListener('keyboardWillShow', (info: any) => {
            console.log('keyboardWillShow');
 });

Here is my ion-input:

 <ion-input
     type="text"
     step="any"
     inputmode="text"
     maxlength="15"
     ></ion-input>

Is this a bug? Am I capturing the event correctly? Is there a workaround?