keyboard scrolling does not work for panels

RESOLVED INCOMPLETE

Status

defect
P2
normal
RESOLVED INCOMPLETE
5 years ago
2 years ago

People

(Reporter: evold, Assigned: zer0)

Tracking

Firefox Tracking Flags

(Not tracked)

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
Priority: -- → P2
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.