We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

dropdown numeric entry doesn't behave as desired, is there a fix?

more options

https://jsbin.com/fujote/1/edit?html,output

The above link has a basic drop down which can be opened in different browsers to understand the difference in behaviour of a drop down. So while we enter numeric values form the keyboard into a drop down, it doesnt work, it doesnt auto select two digits pressed. For example, if i press 55 on the keyboard, in IE the value is setting at 55, but in firefox it is getting at 50 and i have to press 5 , five more times to get it to 55.

Is there any way this can be fixed?

https://jsbin.com/fujote/1/edit?html,output The above link has a basic drop down which can be opened in different browsers to understand the difference in behaviour of a drop down. So while we enter numeric values form the keyboard into a drop down, it doesnt work, it doesnt auto select two digits pressed. For example, if i press 55 on the keyboard, in IE the value is setting at 55, but in firefox it is getting at 50 and i have to press 5 , five more times to get it to 55. Is there any way this can be fixed?

Всички отговори (2)

more options

I still see this behavior in the current Nightly build, so you can consider to file a bug report.

more options

On my Windows, Google Chrome behaves the same as Firefox. Does yours behave differently?

Is there a standard that applies to how a select control should handle keypresses that are close together (e.g., treat those as a single entry) vs. further apart in time?