coderef

scrollendBaseline · Newly available

The scrollend event fires when an element or document has finished scrolling.

Works in the latest version of every major browser, but older devices may not support it yet. Baseline since Dec 12, 2025.

Browser support

DesktopChrome
1–113Not supported
114+Supportedsince May 30, 2023
Current: 155
Edge
12–113Not supported
114+Supportedsince Jun 2, 2023
Current: 154
Firefox
1–108Not supported
109+Supportedsince Jan 17, 2023
Current: 157
Safari
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27
MobileChrome Android
18–113Not supported
114+Supportedsince May 30, 2023
Current: 155
Firefox Android
4–108Not supported
109+Supportedsince Jan 17, 2023
Current: 157
Safari iOS
1–26.1Not supported
26.2+Supportedsince Dec 12, 2025
Current: 27

How to use

Every current browser supports this, but it only became Baseline on Dec 12, 2025. Use it as a progressive enhancement, or keep a fallback if you support older devices.

Example

Full syntax and examples are on MDN: scrollend event.

Feature detection

JS · check before using
if ("onscrollend" in Document.prototype) {
  // the scrollend event is supported
}

Sub-features

Support for each part of the feature (2). The overall table above shows when the whole feature works.

Sub-featureChromeEdgeFirefoxSafariChrome AndroidFirefox AndroidSafari iOS
Document.scrollend_event11411410926.211410926.2
Element.scrollend_event11411410926.211410926.2