New issue
Advanced search Search tips

Issue 817789 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows
Pri: 2
Type: Bug



Sign in to add a comment

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/

 
select.html
661 bytes View Download

Comment 1 by woxxom@gmail.com, Mar 1 2018

The dropdown list in <select> is displayed and handled by the OS natively. 
For example, in Windows typing 1 repeatedly will skip to the next item that starts with 1 i.e. 11, 12, 13 and so on.
Components: Blink>Forms>Select
Labels: OS-Windows

Comment 3 by ajha@chromium.org, Mar 2 2018

Labels: Needs-Triage-M64
Labels: -Pri-3 Triaged-ET M-66 FoundIn-66 Target-66 OS-Linux Pri-2
Status: Untriaged (was: Unconfirmed)
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...!!

Comment 5 by tkent@chromium.org, Mar 5 2018

Owner: tkent@chromium.org
Status: WontFix (was: Untriaged)
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.

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