HomePhabricator

Make scroll keys active immediately upon page load

Description

Make scroll keys active immediately upon page load

Summary:
When JX.Scrollbar activates, the page needs to be clicked before scrolling keys work.

Instead, set focus into the content after we set the page frame (if something else isn't already focused).

Also fixes T7042.

Test Plan: In Safari, Chrome and Firefox, scrolling with key commands is now immediately active.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T7042

Differential Revision: https://secure.phabricator.com/D11508

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jan 26 2015, 5:35 PM
Reviewer
chad
Differential Revision
D11508: Make scroll keys active immediately upon page load
Parents
rP62cb898408ae: Fix call to scrollToPosition()
Branches
Unknown
Tags
Unknown
Tasks
T7042: JX.Scrollbar z-index puts it over dialogs