Skip to content

File Directory Tree View examples: modifier keys are not correctly handled #367

@mcking65

Description

@mcking65

Resolve the following bugs in the handleKeydown function in treeview/treeview-1/js/treeitem.js:

  1. It incorrectly captures printable char keys that are pressed in combination with ctrl, alt, or meta modifiers. Such key events should be allowed to propagate.
  2. It should allow any keydown event where alt or meta modifier is pressed to propagate.

Metadata

Metadata

Assignees

Labels

Example PageRelated to a page containing an example implementation of a patternbugCode defects; not for inaccurate prose

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions