4 ms·
No. You could listen for the keydown, but you wouldn't hear it, so you may as well ignore what you can't hear.
by thomastjeffery 9y ago
No.
You could listen for the keydown, but you wouldn't hear it, so you may as well ignore what you can't hear.
- michaelmior 9y agoYou should get a key down event when moving into the password field since you're coming from a field which is not secure.
- dangero 9y agoYes you're right. I made a variable that tracked the current state of keyup keydown and could detect this special case.