Incorrect item selection in <select> box when typing repeated characters (e.g. "22")
Reported by
schragma...@gmail.com,
Mar 1 2018
|
|||||
Issue description
Chrome Version : 64.0.3282.186
URLs (if applicable) :
Other browsers tested:
Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
Safari:
Firefox: 58.0.2 -> FAIL
Edge: 41.16299.248.0 -> OK
What steps will reproduce the problem?
Have a day select html element with numbers 1 to 31
Focus the select box and type "22" quickly -> the box jumps to 20.
Sames happens with "11" jumping to 10.
What is the expected result?
Typing "22" should select item 22.
Typing "11" should select item 11.
What happens instead?
I assume that it has found 2 and then 20. However quicker typing should find "22", because typing e.g. "31" jumps to item 31 like expected.
Please provide any additional information below. Attach a screenshot if
possible.
Example: https://jsfiddle.net/zpr5kaa3/4/
,
Mar 1 2018
,
Mar 2 2018
,
Mar 2 2018
Able to reproduce the issue on Win-10 and Ubuntu 14.04 using chrome reported version #64.0.3282.186 and latest canary #66.0.3358.0. Issue is not seen in OS-Mac. This is a non-regression issue as it is observed from M60 old builds. Hence, marking it as untriaged to get more inputs from dev team. Thanks...!!
,
Mar 5 2018
Actually, Chromium's SELECT popup doesn't use OS's native menu widget, but aims for following its behavior. As Comment #1 said, this is what native widget does.
,
Mar 5 2018
Thanks for the explanation. I somehow understand, even if in this case its more of following the MIS-behavior of the OS. In our application users often work with lists containing elements prefixed with a code. The intention of this prefix is the ability to select the correct item by typing its code. So "11", "22", "aaa" etc. are common cases where the behavior is suddenly different and thus unexpected which leads to erronous data. |
|||||
►
Sign in to add a comment |
|||||
Comment 1 by woxxom@gmail.com
, Mar 1 2018