Page MenuHomePhabricator

MenuTagMultiselectWidget: Menu sometimes disappears when the cursor is still inside the input
Open, Needs TriagePublic

Description

For widgets that have filterOnInput, the menu opens when the input gets focused, and then close when a choose event occurs. This can product a very unfortunate side effect where the user is still typing the input, but the menu has closed, and will not reopen until the user clicks the mouse out -- and then back in -- to the widget, to trigger the 'focus' event.

We need to find a proper solution to this problem, either setting "hideOnChoose" to false on these menus, or making sure the menu appears on keydown or change of the input.

Event Timeline

Vvjjkkii renamed this task from MenuTagMultiselectWidget: Menu sometimes disappears when the cursor is still inside the input to fpaaaaaaaa.Jul 1 2018, 1:02 AM
Vvjjkkii triaged this task as High priority.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from fpaaaaaaaa to MenuTagMultiselectWidget: Menu sometimes disappears when the cursor is still inside the input.Jul 2 2018, 1:42 PM
CommunityTechBot raised the priority of this task from High to Needs Triage.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

Change 492428 had a related patch set uploaded (by Mooeypoo; owner: Mooeypoo):
[oojs/ui@master] [wip] Un-wtf the MenuSelectWidget's behavior for focus and toggle

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