Page MenuHomePhabricator

Long OOUI dropdowns stop responding to mouse cursor after operating them with keyboard
Closed, ResolvedPublic

Description

Long OOUI dropdowns stop responding to mouse cursor after operating them with keyboard.

Steps to reproduce:

  1. Visit a page with a long dropdown (long enough to require scrolling), for example:
    1. https://en.wikipedia.org/wiki/Special:ApiSandbox
    2. https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop#DropdownInputWidget-long-Vietnamese-default-value-vi
  2. Open the dropdown
  3. Do something using the keyboard that requires it to be scrolled a lot, for example:
    1. type to search very fast
    2. press and hold the down arrow

Afterwards, the dropdown items will no longer be highlighted when you hover them with the mouse pointer. (Clicking them still works.)

Video:

Event Timeline

Change 765545 had a related patch set uploaded (by Bartosz Dziewoński; author: Bartosz Dziewoński):

[oojs/ui@master] Fix #scrollIntoView promise never resolving when called repeatedly

https://gerrit.wikimedia.org/r/765545

Test wiki created on Patch demo by Matma Rex using patch(es) linked to this task:

https://patchdemo.wmflabs.org/wikis/028e22ab6e/w/

Change 765545 merged by jenkins-bot:

[oojs/ui@master] Fix #scrollIntoView promise never resolving when called repeatedly

https://gerrit.wikimedia.org/r/765545

Test wiki on Patch demo by Matma Rex using patch(es) linked to this task was deleted:

https://patchdemo.wmflabs.org/wikis/028e22ab6e/w/

Change 770069 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@master] Update OOUI to v0.43.2

https://gerrit.wikimedia.org/r/770069

Change 770069 merged by jenkins-bot:

[mediawiki/core@master] Update OOUI to v0.43.2

https://gerrit.wikimedia.org/r/770069

Change 770926 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/core@REL1_38] Update OOUI to v0.43.2

https://gerrit.wikimedia.org/r/770926

Change 770926 merged by jenkins-bot:

[mediawiki/core@REL1_38] Update OOUI to v0.43.2

https://gerrit.wikimedia.org/r/770926