Skip to content

[scrollery] window.scrollTop does not exist #2

@ErikFontanel

Description

@ErikFontanel

I found a small cross-browser issue in scrollery.js. If I add data-scrollery=body to the body element, the event listener is added to window, but the window.scrollTop attribute does not exist. However document.documentElement.scrollTop does work.

Example:
Open http://csspl.us/test/scrollery.html in Firefox 54.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions