Fixed Pressing a number key without any modifier key invokes the navigation menu

Affected version
2.0.0

W1zzard

Well-known member
Try pressing 1 now :)

This is especially troublesome when a dropdown has keyboard focus and the user types to quickly select an option
 
Reactions: Xon

Kier

XenForo developer
Staff member
Try pressing 1 now :)

This is especially troublesome when a dropdown has keyboard focus and the user types to quickly select an option
The number keys are intended to activate the main navigation, but I'm puzzled by your comment about typing when a drop-down menu has focus, as I haven't been able to reproduce this. Can you give me an example - the menu that has focus, the browser you're using etc.?
 

W1zzard

Well-known member
Firefox and Chrome, when using the registration, month of birth

Click the password field, press tab, press 1

The dropdown JS should eat the keypress event, even when no item found.

 

Kier

XenForo developer
Staff member
I can't actually reproduce that with Firefox here... will try Chrome next.
 

Kier

XenForo developer
Staff member
Can't reproduce with Chrome either. Can you describe exactly what you expect to happen, and what is actually happening?
 

Kier

XenForo developer
Staff member
Aaaaah, I've been trying to do this with the <select> open, now I see the problem.

Well, the problem that was a problem until I just fixed it anyway ;)
 
Top