Export to GitHub

js-hotkeys - issue #95

Hotkeys are intercepted in password fields


Posted on Dec 13, 2010 by Helpful Bear

What steps will reproduce the problem? 1. Just add some <input type=password id=mypassword> to HTML 2. Bind some key and try to press it when the focus is on "mypassword" field

What is the expected output? What do you see instead? Hotkeys shouldn't be available when the focus is on password fields

What version of the product are you using? On what operating system? 0.8

Please provide any additional information below. How to fix: just replace line #47 with the following: event.target.type === "text" || event.target.type === "password") ) {

Status: New

Labels:
Type-Defect Priority-Medium