Skip to content

Keyboard events should stop dragging #6478

@kevinresol

Description

@kevinresol
  • VSCode Version: 1.1.1
  • OS Version: OSX 10.11.4

Steps to Reproduce:

  1. Hold left mouse button and drag-select some text
  2. Press some keyboard key, to replace or delete the selected text
  3. Release left mouse button

Actual Result:
Some texts are selected, depending on the location of the mouse release

Expected result:
No texts are selected. (i.e. keyboard events should finish any pending mouse drags)

Notes:
This operation (the delayed mouse release) may sound unnatural at first place. But on OSX one can use a three-finger gesture to represent a mouse drag, which has a slight delay between the finger release and the actual drag finish, causing the problem to emerge.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions