Skip to main content
lagoon_bbo
Known Participant
August 1, 2016
Question

KeyboarEvent.KEY_UP / KEY_DOWN wrong charCode

  • August 1, 2016
  • 1 reply
  • 363 views

Hi,

I just found a problem using charCode of KeyboardEvent, when shift key is pressed the charCodes.

On French keyboard, there is numéral on top the keyboard

without shift key there is:

&é"'(-è_çà

and with shift key there is

1234567890

But when I trace the charCode, i got:

without shift

&é"'(-è_çà

it's ok

with shift:

&É""(_È_ÇÀ

it's wrong !

I'm trying to make a password input like in IOS with character restriction and I don't know how to do it if the charCodes are wrong.

I will add the problem in the bugbase

EDIT:

I just filled a bug in the bugbase: https://bugbase.adobe.com/index.cfm?event=bug&id=4177479

    This topic has been closed for replies.

    1 reply

    chris.campbell
    Legend
    August 1, 2016

    Thank you for filing this bug.  I've asked the team to take a look and they'll report back in the bug comments.

    lagoon_bbo
    Known Participant
    August 2, 2016

    Thanks for taking a look at it