You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The scroll methods in Element and Window return Promise objects which provide a reliable signal for the completion status of a programmatic smooth-scroll request. The returned promises get resolved on scroll completion, as per a CSSOM View Spec update last year, and we already have the resolution that the resolved value would indicate whether the scroll is interrupted or not.
Standards Positions: WebKit supporting, Mozilla pending.
Site Breakage and Workaround: After Chrome shipped the feature on June 2026, it encountered a minor compat problem with a certain use of React useEffect() and provided a workaround that satisfied the developers.
Other Developer Sentiment: The CSS spec resolution received 26 thumb-ups, out of ~75 positive reactions in the whole issue.
Reacted by Anton, Bramus, phantomxx29474, Naman Goel, Jayden Pearse, Nicolas Stepien, Harrison Healey, Sean Yen and Ayanami Akaha
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Feature Scroll method promises
ID: scroll-promises
Name: Scroll method promises
Description: The scroll(), scrollBy(), scrollTo(), and scrollIntoView() methods on the Element and Window interfaces return Promises that resolve when scrolling completes.
Activity
github-actions commentedon Sep 22, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature Scroll method promises
scroll(),scrollBy(),scrollTo(), andscrollIntoView()methods on theElementandWindowinterfaces return Promises that resolve when scrolling completes.