Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    BUG: EventHandler.getKeyEventCharacter() reporting wrong value for non-ASCII keys

    Hi,

    isc.version == "v12.0p_2018-05-23/LGPL Development Only" on Chrome 66.0.3359.181

    According to docs for EventHandler.getKeyEventCharacter returns: type: String - Character the user entered. May be null for non-character keys.
    For pressing SHIFT button EventHandler.getKeyEventCharacterValue() returns undefined which when fed through String.fromCharCode(undefined) gives 1 letter string with character with ASCII code 0 instead of NULL.

    In my opinion getKeyEventCharacter should detected undefined parameter and return NULL in that case.

    Best regards,
    Janusz

    #2
    We've made the suggested change. Please try the next nightly build, dated May 31.

    Regards
    Isomorphic Software

    Comment

    Working...
    X