panel-list drops a letter typed right after hovering a submenu item
Categories
(Toolkit :: UI Widgets, defect, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox163 | --- | fixed |
People
(Reporter: florian, Assigned: florian, NeedInfo)
References
Details
Attachments
(1 external file)
With focus outside a panel-list, hovering a submenu item and typing a letter right away selects nothing.
PanelList#selectByKey makes the outer list stand aside as soon as the submenu's open is set. The submenu only starts listening for keys in addHideListeners(), after its asynchronous alignment (a requestAnimationFrame and a setTimeout), so neither list handles a key typed in between.
The fix makes the outer list stand aside only for a submenu that is already listening, and adds a test to test_panel_item_first_letter.html.
| Assignee | ||
Comment 1•17 days ago
|
||
The outer list stood aside as soon as the submenu was open, but the submenu only listens for keys once its asynchronous alignment is done, so a letter typed right after hovering a submenu host was dropped by both lists.
Comment 4•10 days ago
|
||
Backed out for causing lint failures
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/6db1499f12eefddb49d1463a1610a03f0d9131a5
Comment 6•9 days ago
|
||
| bugherder | ||
Description
•