-
Notifications
You must be signed in to change notification settings - Fork 36
Programmatic scroll promise #639
Copy link
Copy link
Open
Labels
from: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.position: supporttopic: cssSpec relates to CSS (Cascading Style Sheets)Spec relates to CSS (Cascading Style Sheets)topic: scrollingvenue: W3C CSS WG
Metadata
Metadata
Assignees
Labels
from: GoogleProposed, edited, or co-edited by Google.Proposed, edited, or co-edited by Google.position: supporttopic: cssSpec relates to CSS (Cascading Style Sheets)Spec relates to CSS (Cascading Style Sheets)topic: scrollingvenue: W3C CSS WG
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.