SMRTR ProgrammingJan 2, 2025Daily.dev

JavaScript scroll snap events for scroll-triggered animations

SMRTR summary

Chrome 129 introduces new scroll snap events: scrollsnapchange and scrollsnapchanging. These events allow developers to control CSS scroll snap features dynamically, triggering actions when new snap targets are identified or settled. The events work with existing CSS scroll snap properties and provide properties to reference snapped elements in block and inline directions.

SMRTR provides this summary for quick context. The original article belongs to Daily.dev.

Read the original article
SMRTR Programming

Get the next batch of curated stories in your inbox.

This archive is built from SMRTR newsletter stories. Subscribe for hand-picked stories without the extra noise.

Related Stories

Browse Programming
ProgrammingAug 23, 2026

Rust Glancer

Rust-analyzer's memory bloat stems from treating all 6,666 dependencies equally — a tiered, IntelliJ-style backend could fix that.