Closed Bug 1001914 Opened 11 years ago Closed 7 years ago

keyboard scrolling does not work for panels

Categories

(Add-on SDK Graveyard :: General, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: evold, Assigned: zer0)

References

Details

Reported here https://github.com/jetpack-labs/page-portals/issues/10 Initially, when a panel is first shown, using the mouse to scroll an open panel works, but using the keyboard does not. After you click on the panel document the keyboard starts to work. Should the keyboard navigation work whenever the mouse scrolling does?
(In reply to Erik Vold [:erikvold] [:ztatic] from comment #0) > Reported here https://github.com/jetpack-labs/page-portals/issues/10 > > Initially, when a panel is first shown, using the mouse to scroll an open > panel works, but using the keyboard does not. After you click on the panel > document the keyboard starts to work. > > Should the keyboard navigation work whenever the mouse scrolling does? Actually, not. Mouse scrolling works despite the window that has the focus, it scrolls the window under the mouse pointer. You can try yourself having two Firefox window, or any window – e.g terminal window and a browser one – and scroll the window that doesn't have the focus but it's under the pointer. Said that, I think is legitimate in our case give automatically the focus to the panel's content window once is opened, if the `focus` option is set to `true`: it already get the focus from the current element anyway, only if it's set to `false` we have the `noautofocus` enabled.
Assignee: nobody → zer0
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.