Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 71531

KeyboardEvent : How to correctly identify the key pressed

$
0
0

@RohinMohandas wrote:

I have a requirement to identify the key pressed on the android/iOS keyboard. This was achieved successfully using (keyup) event on the input field.

But, the keyCode (or even the key) property on the KeyboardEvent does not seem to be reliable when the actual mobile device uses a non native keyboard like SwiftKey or Huawei swype keyboard.

I checked the MSDN documentation on KeyboardEvent but was not able to figure out what I am doing wrong. Has anyone encountered similar issues before?

Any help would be appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 71531

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>