Steps to Reproduce:
- open a page with a ComboBoxInputWidget on in
- tab through the form fields (using the keyboard) until the ComboBoxInputWidget is reached
- select a value (through keyboard arrows)
- tab to go to the next form field
Actual Results:
- upon the first tab "out", the list of suggestions is actually closed, but the ComboBoxInputWidget's input is still focused
- upon the second tab "out", the list of suggestions opens again
- upon the third tab "out", the "next form field" is actually focused but the list of suggestions remains open (possibly covering the relevant form field)
Expected Results:
- upon the first tab "out", the list of suggestions is actually closed and the next input element is focused
Depending on how ComboBoxInputWidget is supposed to function it is ok if also the arrow button opens the list of suggestions, but it is important that upon leaving the ComboBoxInputWidget the list of suggestions is acutally closed.
Note:
- it appears that tabbing out of the ComboBoxInputWidget with no value selected, the observed is correct (the list of suggestions closes)
Screenshot:
Info:
This can be witnessed on https://doc.wikimedia.org/oojs-ui/master/demos/?page=widgets&theme=wikimediaui&direction=ltr&platform=desktop#ComboBoxInputWidget
We discovered this while looking at T266638: language/spelling variant selector on Special:NewItem and Special:NewLexeme stays open when tabbing out of it, covering other input fields.