Closed
Bug 1235088
Opened 8 years ago
Closed 7 years ago
Closing a panel leaves input focus nowhere
Categories
(Add-on SDK Graveyard :: General, defect)
Add-on SDK Graveyard
General
Tracking
(Not tracked)
RESOLVED
INCOMPLETE
People
(Reporter: jwkbugzilla, Unassigned)
Details
When a panel is closed via panel.hide() or by pressing Escape, the input focus is completely lost (tested in Firefox 46.0a1 nightly on OS X 10.11). You can press Tab all you want, no element will be focused. I assume that the focus is on the content area of the panel which is no longer visible. It should be set to the browser content area instead. Code setting input focus on the browser content area already exists for sidebars (see https://github.com/mozilla/addon-sdk/blob/5ac44b7e088c986bbbd8aaea57b95738eb071ead/lib/sdk/ui/sidebar/view.js#L205). AFAICT that's the only work-around right now, to let people do something useful with keyboard only after a panel is closed - you have to create a temporary sidebar, open it, close and dispose again. Needless to say, that's a huge hack even though it doesn't seem to cause any visual effect.
Comment 1•7 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in
before you can comment on or make changes to this bug.
Description
•