Skip to content

Releasing the modifier key before releasing the modified key causes mis-detection by getModifierState() #16043

Open
@DartBot

Description

This issue was originally filed by NawafN...@gmail.com


What steps will reproduce the problem?

  1. Add an onKeyUp listener to a contenteditable span or div element
  2. Listen for modifier state with getModifierState()
  3. Click on a keyboard key and shift
  4. Release shift before releasing the other keyboard key

What is the expected output? What do you see instead?
getModifierState() should detect the type of modifier used. But, it does not.

What version of the product are you using? On what operating system?
Dart Editor version 1.0.0_r30798 (STABLE)
Dart SDK version 1.0.0.10_r30798

Ubuntu 13.10 64


Attachment:
KeyModifier.tar.gz (552 Bytes)

Metadata

Assignees

No one assigned

    Labels

    P2A bug or feature request we're likely to work onarea-webUse area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.library-htmltype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)web-librariesIssues impacting dart:html, etc., libraries

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions