Skip to content

Programmatic scroll promise #639

@mustaqahmed

Description

@mustaqahmed

WebKittens

@smfr

Title of the proposal

Programmatic scroll promise

URL to the spec

https://drafts.csswg.org/cssom-view/#extension-to-the-element-interface

URL to the spec's repository

https://github.com/w3c/csswg-drafts/tree/main/cssom-view-1

Issue Tracker URL

No response

Explainer URL

https://github.com/explainers-by-googlers/promisify-scroll/blob/main/README.md

TAG Design Review URL

w3ctag/design-reviews#1210

Mozilla standards-positions issue URL

mozilla/standards-positions#1379

WebKit Bugzilla URL

No response

Radar URL

No response

Description

Web developers currently have no way to know when a programmatic smooth-scroll has completed. A solution to the problem that has already been resolved in the CSS WG: make the programmatic scroll methods return Promise objects that get resolved on scroll completion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions