• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Affected version
2.0.0

W1zzard

Well-known member
#1
Try pressing 1 now :)

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

Kier

XenForo Developer
Staff member
#2
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
#3
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
#5
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
#6
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 ;)