Skip to content

Polyfilled smooth scroll slower than native implementations with long distances #14

Description

@prietveld

I found that current computations for the polyfilled smooth scroll behavior make scrolling take a long time to 'ramp up' when scrolling over longer distances, like 'back to top' from a long list (several screen lengths) of search results, which makes such an action seem unresponsive. This is different from implementations in Chrome and Firefox, which appear 'snappier' in these cases.

Would it be possible to take another look at the code for animated scrolling, or make this configurable?

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