Open Bug 874766 Opened 11 years ago Updated 2 years ago

medium.com does not page down when space bar key is pressed

Categories

(Core :: DOM: UI Events & Focus Handling, defect)

x86
macOS
defect

Tracking

()

UNCONFIRMED
Tracking Status
firefox21 --- affected
firefox24 --- affected

People

(Reporter: cpeterson, Unassigned)

References

()

Details

STR:
1. Load the medium.com home page or any article
2. Press the space bar to page down the long page

RESULT:
Nothing happens. The space bar pages down as expected in Chrome and Safari. The Page Down and Page Up keys work as expected in Firefox.

In bug 863912 comment 3, dholbert describes some CSS overflow quirks on medium.com that broke printing. Could this space bar problem is related?
The page has: html,body { overflow:hidden; height:100%; }
in both FF and Chrome.  The scrollbar comes from a deeper <div> with overflow:auto.

The difference is that FF has document.activeElement = <html> after page load,
whereas Chrome has it at the scrollable <div>.

If I use dev-tools in Chrome to focus <html> then it shows the same problem.

So this may be Evangelism, depending on how the page moved focus to the <div>
in Chrome.
Status: NEW → UNCONFIRMED
Ever confirmed: false
Component: Event Handling → User events and focus handling
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.