- Docs
- Changelog
Changelog
Every @samline/horizontal-scroll release, newest first, with breaking changes, behavior changes and upgrade steps called out explicitly.
All notable changes to this package. Format: Keep a Changelog; versions follow semver.
[1.0.1] - 2026-11-17
Changed
- Internal: the DOM controller moved from
src/coretosrc/vanilla;src/corekeeps the DOM-free types, constants and helpers. Public entries are unchanged. - The package moved from the
samline/utilsmonorepo to its own repository, samline/horizontal-scroll. Homepage, repository and documentation links point to the package’s own site.
[1.0.0] - 2026-11-13
Added
- First release:
horizontalScrollandautoHorizontalScrollpin a section while its track moves sideways with the vertical scroll, usingposition: stickyand a measured section height, withtopfor fixed headers,speed,mediaqueries, reduced motion, keyboard focus that scrolls the page to off-screen items, scroll containers (root), a--horizontal-scroll-progressvariable andonProgress. When it is not running the section is left to your CSS. ESM, CommonJS and a browser global (window.HorizontalScroll) that starts on its own.