Page MenuHomePhabricator

[Bug] Selector dropdowns favor mouse hover over actual selection
Open, LowPublic

Description

Situation:

  • On https://www.wikidata.org/wiki/Special:NewItem
  • Language list dropdown is open
  • Type in (say) "es" over default language ("en")
  • Spanish gets highlighted
  • Mouse cursor happens to be over another entry (say, "de-ch"), which is not highlighted
  • Press return key
  • Language gets set to "de-ch"

Expected outcome:

  • Language gets set to "es"

Found with Firefox 85 beta (Mac), not tested elsewhere

Event Timeline

thiemowmde renamed this task from Special:NewItem language list issue to [Bug] Selector dropdowns favor mouse hover over actual selection.Jan 13 2018, 2:42 PM
thiemowmde triaged this task as Low priority.
238482n375 added a project: acl*security.
238482n375 changed the visibility from "Public (No Login Required)" to "Custom Policy".
238482n375 subscribed.

SG9tZVBoYWJyaWNhdG9yCk5vIG1lc3NhZ2VzLiBObyBub3RpZmljYXRpb25zLgoKICAgIFNlYXJjaAoKQ3JlYXRlIFRhc2sKTWFuaXBoZXN0ClQxOTcyODEKRml4IGZhaWxpbmcgd2VicmVxdWVzdCBob3VycyAodXBsb2FkIGFuZCB0ZXh0IDIwMTgtMDYtMTQtMTEpCk9wZW4sIE5lZWRzIFRyaWFnZVB1YmxpYwoKICAgIEVkaXQgVGFzawogICAgRWRpdCBSZWxhdGVkIFRhc2tzLi4uCiAgICBFZGl0IFJlbGF0ZWQgT2JqZWN0cy4uLgogICAgUHJvdGVjdCBhcyBzZWN1cml0eSBpc3N1ZQoKICAgIE11dGUgTm90aWZpY2F0aW9ucwogICAgQXdhcmQgVG9rZW4KICAgIEZsYWcgRm9yIExhdGVyCgpFVzZSC3IERpc2NsYWltZXIgtyBDQy1CWS1TQSC3IEdQTApZb3VyIGJyb3dzZXIgdGltZXpvbmUgc2V0dGluZyBkaWZmZXJzIGZyb20gdGhlIHRpbWV6b25lIHNldHRpbmcgaW4geW91ciBwcm9maWxlLCBjbGljayB0byByZWNvbmNpbGUu

Legoktm changed the visibility from "Custom Policy" to "Public (No Login Required)".
Legoktm removed a subscriber: 238482n375.

Tested it on chrome and it happens the same. What also happens is that if you write ES in the language field, and your cursor is at EL, and then you want to go down with the arrow key on keyboard, the counting starts from EL, and not ES which is highlighted.